FC41D communication with ble peripheral

Hi, I am using the module FC41D to communicate with an external ble device. I managed to connect to it and I had this messages :

AT+QBLECONN=0,50325f955cfa
OK
+QBLEMTU:<250>
+QBLEMTU:<250>
+QBLESTAT:CONNECTED
+QBLEINFO: 16 2a29
+QBLEINFO: 18 2a24
+QBLEINFO: 20 2a26
+QBLEINFO: 23 a9da60400823499594ec9ce41ca28833
+QBLEINFO: 26 a73e9a10628f4494a09912efaf72258f
+QBLEINFO: 29 75a9f022af034e41b4bc9de90a47d50b
+QBLEINFO: 33 902ee6926ef948a8a4305212eeb3e5a2
+QBLEINFO: 35 503a5d70b443466e9aebc342802b184e
+QBLEINFO: 37 12e868e7c926490696c8a7ee81d4b1b3
I wanted to send a message to this peripheral by using its uuid with thoses commands but I always have error as reponse (I tried many possibilites, I think my commands are wrong, could you me and clarify what I have to do):
AT+QBLEGATTCWR=23,2
ERROR
AT+QBLEGATTCWR=23,2,ff
ERROR
+QBLEGATTSNTFY=23,2
ERROR
AT+QBLEGATTCWR=0017,2,ff
ERROR
AT+QBLEGATTCWR=0017,2
ERROR
AT+QBLEGATTCWR=23,2
ERROR
AT+QBLEGATTCWR=0023,2
ERROR
AT+QBLEGATTSNTFY=0023,2
ERROR
AT+QBLEGATTSNTFY=0017,2
ERROR
AT+QBLEGATTSNTFY=17,2
ERROR
AT+QBLESTAT
+QBLESTAT:CONNECTED
OK
AT+QBLEGATTSNTFY=a9da60400823499594ec9ce41ca28833,2,11
ERROR
AT+QBLECONN=0,50325f955cfa
ERROR
AT+QBLEGATTSNTFY=a9da60400823499594ec9ce41ca28833,2,11
ERROR
AT+QBLEGATTSNTFY=17,2
ERROR
AT+QBLEGATTCWR=a9da60400823499594ec9ce41ca28833,2,11
ERROR
AT+QBLEGATTCWR=2a29,2,11
ERROR
Thank you
Best Regards

Thanks for your post.The command: AT+QBLEGATTCWR=23,2,which looks wrong ,the first parameter should be a UUID of characteristic and the second parameter is the data you want to sent. Additonally,after the connection is finished,you should check whether your characteristic UUID was included,the UUID is the second parameter of +QBLEINFO.

1 Like

Hi, the command worked thank you for your reply.

1 Like

OK,you’re welcome,it’s my pleasure