imx7s - how to R/W BLE GATT data from other on-board applications?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx7s - how to R/W BLE GATT data from other on-board applications?

Jump to solution
720 Views
edwardtyrrell
Senior Contributor I

Hi,

I have a custom BLE GATT profile working with BlueZ and can R/W characteristic values over BLE from a mobile phone etc. The difficulty I'm having is finding information on how to get access to the characteristic data on board my imx7s platform. The BLE profile will set-up various product functionality and be a general user tool. For example if the user wants to change the host name, set a LED, add another WIFI user to wpa_supplicant and so forth. So as mentioned, I can change the data via a phone, but how do I tap into Bluez and access the data from another application also running on the same Linux OS?

[ Phone ] App ( sets LED characteristic to on ) ================> [imx7s] HCI => Bluez => Custom Profile => BlueZ < ==  ?? How  => C application that sets the LED to on.

The ??How is the mystery. Can I access and R/W my custom Profile's GATT characteristic via D-Bus for similar?

   

Regards,

Edward

Labels (5)
0 Kudos
1 Solution
537 Views
edwardtyrrell
Senior Contributor I

Modified version example-gatt-server gave all the back0end hooks.

View solution in original post

0 Kudos
1 Reply
538 Views
edwardtyrrell
Senior Contributor I

Modified version example-gatt-server gave all the back0end hooks.

0 Kudos