I have recently started exploring the MangOH red and I have gotten it up and running. Furthermore I have updated the firmware and started and stopped apps. My goal is to measure the current consumption for a future Bluetooth to LTE application. For this I have removed R371 and bridged R382 so I can supply power via the RPi pins, which seems to work well. Now I need to get Bluetooth running. Your marketing video is claiming that this is very easy…
unfortunately the common Bluetooth tools like hcitool don’t seem to be installed on the mangOH red, and the example Bluetooth application, which I have found in the mangoh folder, seems to work only on the mangOH green.
What do you recon is the fastest way to get some Bluetooth broadcasting up and running on the mangoh red?
Support for the onboard bluetooth on mangOH Red is not ready yet. If you need bluetooth in the short term, you can either buy the TI based WiFi/BT IoT card or try to get a USB Bluetooth dongle to work.
I think WIFI still does not work with WP85 (maybe release 16?). BLE is not working generally for MT7697. Could someone more knowledgable give us an “official” status update and give use some info what will happen in the near future? It would be really good to know what we can expect.
buildVars:
{
/*
* The battery service can’t be enabled on 9x15 until the power supply kernel fix lands in an
* official release.
*/
MANGOH_BATTERY_SERVICE_SUPPORTED = 0
/*
* mt7697 wifi can't be supported on the 9x15 based modules until the mac80211 and cfg80211
* change lands in an official release.
*/
MANGOH_SUPPORT_MT7697_WIFI = 0
/*
* The 9x15 kernel doesn't include IIO (Industrial IO) support
*/
MANGOH_KERNEL_LACKS_IIO = 1
/*
* I2C bus containing the battery charger and battery gauge
*/
MANGOH_I2C_BUS_BATTERY = 2
}
I even try to set it 1 but still wifi SSID can not be found on mobile
To my knowledge, there is still a decent amount of work to be done to support the onboard MT7697. This is a tricky task since it requires three things:
Custom firmware flashed to the MT7697 is required since it ships without firmware. MangOH manufacturing may have flashed something to the MT7697, but it will likely need an update to support Bluetooth. This is more challenging when the firmware update needs to be performed remotely. In that case, the MangOH/WP is responsible for putting the MT7697 in “firmware flashing mode”. I did a little research on this and had some luck with an open source flashing tool written in Python by MTK (https://github.com/MediaTek-Labs/mt76x7-uploader/tree/7d1f1ae53164170fea4b4943a0287a640f998e6a), however I was using a development board (https://labs.mediatek.com/en/platform/linkit-rtos) and not a MangOH.
The Linux driver itself to communicate with the MT7697 (over UART or SPI). To my knowledge, this is a pretty nuanced task in terms of delivering a nice experience to developers.
Hope that’s helpful, let me know if you have any further questions.
Looks like you’re using a WP module with an older chipset (https://www.theiphonewiki.com/wiki/MDM9615). To my knowledge, there is a firmware update to be released by Sierra which is required for wifi support on these chipsets (release 16 as mentioned by @tomalex). If you need wifi right away, you could always consider using one of the newer WP modules. In terms of Bluetooth, we don’t have drivers or firmware yet, but hopefully good progress is being made!
I still have not really begun my own implementation of an MTK7697 Bluetooth driver, but I may be able to ramp up this project a little bit more in the new year. Really depends what features must be prioritized at work.
In terms of progress within Sierra, I’m not sure.
If anyone is interested in trying to implement a driver, let me know and I can provide all the details that I have. If Bluetooth is a feature that you require quickly, it’s probably best to select a different Bluetooth chip or even a different board like the mangOH yellow (not sure what stock is like on those).
Any basic sample code available for MT7697 Bluetooth on Mangoh Red baord. I would like to know how its work . can any one share a sample code with respective adef, cdef ,sdef and any dependencies . thanks in advance