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?










share|improve this question






















  • 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















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?










share|improve this question






















  • 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













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?










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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


















  • 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

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















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






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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





















































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







Popular posts from this blog

Full-time equivalent

さくらももこ

13 indicted, 8 arrested in Calif. drug cartel investigation