Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9874 Discussions

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

AS29
Beginner
1,025 Views

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
124 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
125 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.

Reply