Aprilbeacon with arduino can`t read a data which update very fast


#1

the aprilbeacon is connected to arduino uno.And I have to read a data which updates very fast send by iPhone.Here is the arduino code:

    while(Serial.available())
    {
        readStr=Serial.readString();
        Serial.print(readStr);
        Serial.print("\n");
   }

Only when end updating I can get the data.
Is there any way that can read the data by actual time?


#2

How do you connect aprilbeacon to arduino uno?


#3

sorry I got a mistake.It`s zeroBeacon.


#4

Please try our new firmware v2.1.7 for blueduino.

For firmware v2.1.7

The unit for AT+SDUR (scan duration) is changed from second to ms. For example: AT+SDUR300. the at command will change scan duration to 300ms. You can change the scan duration for faster scan effect. Please also check our iBeaconScan example.