HM-10/CC41 talk to BLE server
up vote
0
down vote
favorite
I've done a lot of searching but have yet to find any examples of the data format for accessing a simple BLE characteristic. I have a CC41 (HM-10 clone) that I have set to master mode and successfully connected to a BLE server device using a PC terminal program and the AT commands. I now want to send the proper data to access a service such as Immediate Alert (0x1802) and it's Alert Level characteristic (0x2A06). I know the full service and characteristic UUIDs and the data value for turning the alert on/off. I can do so from the nRF phone app but it doesn't tell me the data protocol that is actually sent from the app. I assume that the UUID needs to be sent as hex data, not a string, but nothing I've tried so far works. If the phone app can do it, then I would think that I can do it manually as well. Any ideas?
bluetooth-lowenergy gatt hm-10
add a comment |
up vote
0
down vote
favorite
I've done a lot of searching but have yet to find any examples of the data format for accessing a simple BLE characteristic. I have a CC41 (HM-10 clone) that I have set to master mode and successfully connected to a BLE server device using a PC terminal program and the AT commands. I now want to send the proper data to access a service such as Immediate Alert (0x1802) and it's Alert Level characteristic (0x2A06). I know the full service and characteristic UUIDs and the data value for turning the alert on/off. I can do so from the nRF phone app but it doesn't tell me the data protocol that is actually sent from the app. I assume that the UUID needs to be sent as hex data, not a string, but nothing I've tried so far works. If the phone app can do it, then I would think that I can do it manually as well. Any ideas?
bluetooth-lowenergy gatt hm-10
So you want to access the GATT characteristics from your PC, is that correct?
– Florian Echtler
Nov 12 at 9:30
No, I am using my PC terminal program to send commands and data to a CC41 (HM-10) device which is connected by BLE to a server device. I am trying to figure out the format of the GATT commands to send, similar to what my phone app (nRF) sends when it is connected to the server device.
– Boomer48
Nov 12 at 19:43
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I've done a lot of searching but have yet to find any examples of the data format for accessing a simple BLE characteristic. I have a CC41 (HM-10 clone) that I have set to master mode and successfully connected to a BLE server device using a PC terminal program and the AT commands. I now want to send the proper data to access a service such as Immediate Alert (0x1802) and it's Alert Level characteristic (0x2A06). I know the full service and characteristic UUIDs and the data value for turning the alert on/off. I can do so from the nRF phone app but it doesn't tell me the data protocol that is actually sent from the app. I assume that the UUID needs to be sent as hex data, not a string, but nothing I've tried so far works. If the phone app can do it, then I would think that I can do it manually as well. Any ideas?
bluetooth-lowenergy gatt hm-10
I've done a lot of searching but have yet to find any examples of the data format for accessing a simple BLE characteristic. I have a CC41 (HM-10 clone) that I have set to master mode and successfully connected to a BLE server device using a PC terminal program and the AT commands. I now want to send the proper data to access a service such as Immediate Alert (0x1802) and it's Alert Level characteristic (0x2A06). I know the full service and characteristic UUIDs and the data value for turning the alert on/off. I can do so from the nRF phone app but it doesn't tell me the data protocol that is actually sent from the app. I assume that the UUID needs to be sent as hex data, not a string, but nothing I've tried so far works. If the phone app can do it, then I would think that I can do it manually as well. Any ideas?
bluetooth-lowenergy gatt hm-10
bluetooth-lowenergy gatt hm-10
asked Nov 10 at 21:13
Boomer48
1
1
So you want to access the GATT characteristics from your PC, is that correct?
– Florian Echtler
Nov 12 at 9:30
No, I am using my PC terminal program to send commands and data to a CC41 (HM-10) device which is connected by BLE to a server device. I am trying to figure out the format of the GATT commands to send, similar to what my phone app (nRF) sends when it is connected to the server device.
– Boomer48
Nov 12 at 19:43
add a comment |
So you want to access the GATT characteristics from your PC, is that correct?
– Florian Echtler
Nov 12 at 9:30
No, I am using my PC terminal program to send commands and data to a CC41 (HM-10) device which is connected by BLE to a server device. I am trying to figure out the format of the GATT commands to send, similar to what my phone app (nRF) sends when it is connected to the server device.
– Boomer48
Nov 12 at 19:43
So you want to access the GATT characteristics from your PC, is that correct?
– Florian Echtler
Nov 12 at 9:30
So you want to access the GATT characteristics from your PC, is that correct?
– Florian Echtler
Nov 12 at 9:30
No, I am using my PC terminal program to send commands and data to a CC41 (HM-10) device which is connected by BLE to a server device. I am trying to figure out the format of the GATT commands to send, similar to what my phone app (nRF) sends when it is connected to the server device.
– Boomer48
Nov 12 at 19:43
No, I am using my PC terminal program to send commands and data to a CC41 (HM-10) device which is connected by BLE to a server device. I am trying to figure out the format of the GATT commands to send, similar to what my phone app (nRF) sends when it is connected to the server device.
– Boomer48
Nov 12 at 19:43
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53243460%2fhm-10-cc41-talk-to-ble-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
So you want to access the GATT characteristics from your PC, is that correct?
– Florian Echtler
Nov 12 at 9:30
No, I am using my PC terminal program to send commands and data to a CC41 (HM-10) device which is connected by BLE to a server device. I am trying to figure out the format of the GATT commands to send, similar to what my phone app (nRF) sends when it is connected to the server device.
– Boomer48
Nov 12 at 19:43