2015-02-02 06:43 AM
I'm trying to read ADV data sent from a sensor device to my BLUENRG device.
I can see the ADV data with a sniffer, but I can't have my device to pass it up to my app.What HCI command should I send to the BLUENRG device so it returns the ADV data it received from the sensor device?Thank you for your help.2015-02-03 01:56 AM
Hi,
Hi, you could send the following commands: -ACI_GATT_INIT() -ACI_GAP_INIT(0x03) -ACI_GAP_START_GEN_DISC_PROC() After that, you can see all devices in Advertising and related ADV Data. Regards, Graziella2015-02-03 04:39 AM
Thank you for your answer.
This is what I'm actually doing...After I send those commands, I get a MAC address from the remote sensor.I'm next issuing a NAME DISCOVER proc and I get the sensor name: OK, that fine.The problem comes afterwards.The next message sent by the remote sensor is a ADV frame with some temperature data.I'm don't receive any data from the BLUENEG chipset.I sent a ADD SERVICE with a Temperature UUID (OK'ed by the chipset and I get a service handle) and a ADD CHAR to the BLUENRG (OK'ed as well with another handle) and then I send a GET CHAR VAL with the connection handle I got in a previous message and the CHAR handle. I get a ''46 Not allowed'' :(Any hints?Thanx !2015-02-03 06:41 AM
Hi,
when you say ''GET CHAR VAL '', which ACI command do you refer? thanks, Graziella2015-02-03 07:00 AM
I meant READ CHAR VAL (FD18)
2015-02-19 04:14 AM
Dear customer,
To understand better your scenario, could you send me the ''History file''?
In any case, you could see the script ''SensorDemo_Central.py'' that you can find under the folder ''..\STMicroelectronics\BlueNRG DK 1.6.0\Application\scripts'' that show how to interact with the SensorDemo (read char, notification and etcc)
Regards,
Graziella MarcheseI meant READ CHAR VAL (FD18)