Community
cancel
Showing results for 
Search instead for 
Did you mean: 
AS29
Beginner
957 Views

Registering local BLE profiles in Intel Edison using "test-profile" python code

Jump to solution

Hello all, I am trying to connect Edison with BLE sensors such as ecg sensor, spo2 sensor, IR temperature sensor, etc. Edison's BLE does not support ecg, spo2, IR temperature profiles. But, Edison has to receive data from these sensors through BLE for my project. I have been thinking whether the test-profile python code provided by bluez will help me to register a local or custom BLE profiles in Edison. My questions are:

1) Do anyone know how to execute the test-profile python code in edison with arguments passed?

2) Or, is there any other solutions for receiving data from these sensors through BLE communication?

1 Solution
Pedro_M_Intel
Employee
56 Views

Hello Ashok-S,

test-profile.py will not help you since it is not a BLE based script. Nevertheless you should be able to receive data from your sensors using GATTtool. I'd recommend you to take a look at section 6 of the http://www.intel.com/support/edison/sb/CS-035381.htm Intel® Edison Bluetooth® User Guide. Section 6.2.5 will be the one that interest you the most, it talks about GATTtool and how to use it, I suggest you to checkhttps://software.intel.com/en-us/articles/using-the-generic-attribute-profile-gatt-in-bluetooth-low-... Using GATT in BLE with your Intel® Edison Board in order to learn how to install GATTtool on your Edison.

Also some other helpful links:

http://i-miss-erin.blogspot.com/2010/12/gatttool-in-bluez-over-bredr.html Reading, Writing and Arithmetic: gatttool in bluez over BR/EDR

http://www.jaredwolff.com/blog/get-started-with-bluetooth-low-energy/ Jared Wolff | Get started with Bluetooth Low Energy

http://stackoverflow.com/questions/15657007/bluetooth-low-energy-listening-for-notifications-indicat... http://stackoverflow.com/questions/15657007/bluetooth-low-energy-listening-for-notifications-indicat...

Peter.

View solution in original post

1 Reply
Pedro_M_Intel
Employee
57 Views

Hello Ashok-S,

test-profile.py will not help you since it is not a BLE based script. Nevertheless you should be able to receive data from your sensors using GATTtool. I'd recommend you to take a look at section 6 of the http://www.intel.com/support/edison/sb/CS-035381.htm Intel® Edison Bluetooth® User Guide. Section 6.2.5 will be the one that interest you the most, it talks about GATTtool and how to use it, I suggest you to checkhttps://software.intel.com/en-us/articles/using-the-generic-attribute-profile-gatt-in-bluetooth-low-... Using GATT in BLE with your Intel® Edison Board in order to learn how to install GATTtool on your Edison.

Also some other helpful links:

http://i-miss-erin.blogspot.com/2010/12/gatttool-in-bluez-over-bredr.html Reading, Writing and Arithmetic: gatttool in bluez over BR/EDR

http://www.jaredwolff.com/blog/get-started-with-bluetooth-low-energy/ Jared Wolff | Get started with Bluetooth Low Energy

http://stackoverflow.com/questions/15657007/bluetooth-low-energy-listening-for-notifications-indicat... http://stackoverflow.com/questions/15657007/bluetooth-low-energy-listening-for-notifications-indicat...

Peter.

View solution in original post

Reply