Bluetooth (LE) on MangOH Red


#1

Hi there,

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?

Cheers,
obo


MT7697 BLE App demo
#2

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.


#3

Hi dfrey,

I would like to know if bluetooth via MT7697 is now working or I still should use the TI based WiFi/BT IoT card as you proposed ?

Best regards,
Souhail


#4

Bluetooth on the mt7697 is not yet working.


#5

Hi,

Has the situation changed in any way? We’re looking for BLE options on the MangOH Red and it would be great if bluetooth on the mt7697 is now usable.


#6

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.


#7

Bumping your post, Im also interested in when this feature will be enabled.


#8

I try to use wifi and BLE is next to check with MT7697.

I use WP7502 with MangOH SDK but I find wifi is off by default:

root@testUser:/home/mangOH# cat targets/mdm9x15.sinc
//--------------------------------------------------------------------------------------------------
// Definitions specific to Sierra Wireless modules that are based on the Qualcomm MDM9x15 chipset
// family.
//
// Copyright ©, Sierra Wireless Inc.
//--------------------------------------------------------------------------------------------------

#include mdm9xxx.sinc

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

Any hint ?


#9

Hey all,

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:

  1. 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.

  2. The custom firmware for the MT7697 to make Bluetooth work. The implementation of the custom firmware for WiFi functionality can be found here (https://github.com/mangOH/MT7697_WiFi_BT_fw/blob/5c0d3f1ce5c95c8169cf3c1855a945a174fd1812/src/swi_wifi.c) to get an idea of what the Bluetooth firmware may look like. This is what will need to be built and flashed to the MT7697.

  3. 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.

Cheers!


#10

Hey @jalindar,

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!

Cheers!


#11

Hi nick,

I would like to know if bluetooth development is still in progress and if there is a release date or if it’s still too early ?

Thank you.


#12

Hey @nkau_tha,

We’re still working on it (very early stage). It would also likely use a proprietary format outside of BlueZ due to constraints around the MTK7697.