TinyCircuits Forum

TinyCircuits Products => TinyDuino Processors & TinyShields => Topic started by: countkaushik on August 12, 2014, 12:06:39 AM

Title: TinyDuino BLE shield not able to scan advertising packets
Post by: countkaushik on August 12, 2014, 12:06:39 AM
I am using a rev 2 TinyDuino BLE shield. I am trying to run the scanner example (BGLib_scaner.ino) from the BGLib example folder (https://github.com/jrowberg/bglib/tree/master/Arduino/Examples/BGLib_scanner (https://github.com/jrowberg/bglib/tree/master/Arduino/Examples/BGLib_scanner)). I have modified the line 59:

SoftwareSerial bleSerialPort(3, 4); // RX, TX

to account for the fact that the serial ports are connected to pin 3 and 4 according to the TinyDuino BLE shield tutorial.

But it is not working as expected. From my iPhone I am running BLE explorer in peripheral mode to advertise alert notification service. But when I enter '2' from the serial monitor of the TinyDuino, I just get the output - -->   gap_set_scan_parameters: { scan_interval: 0xC8, scan_window: 0xC8, active: 1 },  but no actual advertising data.

Is the TinyDuino BLE shield capable of scanning advertising packets from other peripheral devices? I am not sure if I am doing anything wrong. Any help would be appreciated!