0

Good morning.

I have a Quectel MC60 bt and a pulsioxymeter which has a service with two characteristics.

If I send the command “AA14EB00000000C6” to write charasteristic from my mobile, the pulsioxymeter responds me with the next general data.

Now I need to replicate exactly this but using Quectel MC60 Bt as client.

I have followed all the steps in the datasheet and I able to scan near devices, connect to my pulsioxymeter, list and check every services/feature, register to recieve notificacions and send the command to see the general data but in this point I don´t recieve data/notifications like in my mobile.

I add the secuence I´m using it.

AT+QBTGATCREG=1,“B001”
+QBTGATCREG: 1,0,“B001”
OK

AT+QBTGATCSCAN=1,“B001”
+QBTGATCSCAN: 1,0,“B001”
OK

+QBTGATCSCAN: “B001”,1681EFC323DB,74,02010604FF4EF3000C094F78796669742032313835

AT+QBTGATCSCAN=0,“B001”
+QBTGATCSCAN: 0,0,“B001”
OK

AT+QBTGATCCON=1,“B001”,1681EFC323DB,1
OK

+QBTGATCCON: 1,0,“B001”,1681EFC323DB,1
+QBTGATCCON: 1,0,“B001”,1681EFC323DB,2
+QBTGATCCON: 1,0,“B001”,1681EFC323DB,3
+QBTGATCCON: 1,0,“B001”,1681EFC323DB,4
+QBTGATCCON: 1,0,“B001”,1681EFC323DB,5
+QBTGATCCON: 1,0,“B001”,1681EFC323DB,6
+QBTGATCCON: 1,0,“B001”,1681EFC323DB,7

AT+QBTGATCSS=“B001”,1
OK

+QBTGATCSS: 0,“B001”,1,“0018”,0,1
+QBTGATCSS: 0,“B001”,1,“0118”,0,1
+QBTGATCSS: 0,“B001”,1,“59FE”,0,1
+QBTGATCSS: 0,“B001”,1,“0A18”,0,1

+QBTGATCSS: 0,“B001”,1,“3923CF407316429A5C417E7DC49A8314”,0,1

AT+QBTGATCGC=“B001”,1,“3923CF407316429A5C417E7DC49A8314”,0,1
OK

+QBTGATCGC: 0,“B001”,1,“3923CF407316429A5C417E7DC49A8314”,0,1,“A3E1260AEE9AE9BBB0490BEBE7AC008B”,0,4

AT+QBTGATCGD=“B001”,1,“3923CF407316429A5C417E7DC49A8314”,0,1,“579A054352CDB1A61A4BE7A84A593407”,0
OK

+QBTGATCGD: 0,“B001”,1,“3923CF407316429A5C417E7DC49A8314”,0,1,“579A054352CDB1A61A4BE7A84A593407”,0,“0229”,0

AT+QBTGATCRN=1,“B001”,1681EFC323DB,“3923CF407316429A5C417E7DC49A8314”,0,1,“579A054352CDB1A61A4BE7A84A593407”,0

+QBTGATCRN: 1,1,“B001”,1681EFC323DB,“3923CF407316429A5C417E7DC49A8314”,0,1,“579A054352CDB1A61A4BE7A84A593407”,0
OK

AT+QBTGATCWD=“B001”,1,1,“3923CF407316429A5C417E7DC49A8314”,0,1,“579A054352CDB1A61A4BE7A84A593407”,0,“0229”,0,“0100”,0
OK

+QBTGATCWD: 0,“B001”,1,“3923CF407316429A5C417E7DC49A8314”,0,1,“579A054352CDB1A61A4BE7A84A593407”,0,“0229”,0

AT+QBTGATCRC=“B001”,1,“3923CF407316429A5C417E7DC49A8314”,0,1,“A3E1260AEE9AE9BBB0490BEBE7AC008B”,0,0
OK

+QBTGATCRC: 0,“B001”,1,“3923CF407316429A5C417E7DC49A8314”,0,1,“A3E1260AEE9AE9BBB0490BEBE7AC008B”,0,“AA”

AT+QBTGATCWC=“B001”,1,1,“3923CF407316429A5C417E7DC49A8314”,0,1,“A3E1260AEE9AE9BBB0490BEBE7AC008B”,0,“C600000000EB14AA”,0
OK

+QBTGATCWC: 0,“B001”,1,“3923CF407316429A5C417E7DC49A8314”,0,1,“A3E1260AEE9AE9BBB0490BEBE7AC008B”,0

AT+QBTGATCRD=“B001”,1,“3923CF407316429A5C417E7DC49A8314”,0,1,“579A054352CDB1A61A4BE7A84A593407”,0,“0229”,0,0
OK

+QBTGATCRD: 0,“B001”,1,“3923CF407316429A5C417E7DC49A8314”,0,1,“579A054352CDB1A61A4BE7A84A593407”,0,“0229”,0,“0000”

When i read the value of the descriptor it is “0000” when it should be “0100” that is the value that i wrote in the previous step.

I have tried to send the command to other characteristic, send other command, modify the secuence of at command, reverse the characters of command.

Thank you for your time and help.

Cœur
  • 37,241
  • 25
  • 195
  • 267
J.A
  • 1
  • 1

0 Answers0