jrowberg / bglib

BGLib implementation for Bluegiga BLE Bluetooth Smart modules
Other
240 stars 170 forks source link

Scanner example not working on TinyDuino #15

Open ksarkar opened 10 years ago

ksarkar commented 10 years ago

I am using a rev 2 TinyDuino BLE shield. I am trying to run the scanner example (BGLib_scaner.ino). 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 official 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.

I am not sure if I am doing anything wrong. Any help would be appreciated!

Thanks for making this library available.

0rion1 commented 8 years ago

I am having the same problem.