antoniopetruzzella / BeaconNano

GNU Lesser General Public License v2.1
7 stars 6 forks source link

doesn't work on Nano 33 Iot #4

Open sdetweil opened 3 years ago

sdetweil commented 3 years ago

thanks for the source, solves SO many problems..

now to workout scan, but I think it will be easier

sdetweil commented 3 years ago

different processor, compiler fails the std::string data type

the concept works on IOT.. I added support to ignore the - in the UUID, so U can use typical notation..

toyfoo commented 2 years ago

Hello I get the following error on this line of the example file:

Beacon.begin("c336aa38054bb0483b0ae75027061982",1,1,197);

initializing argument 1 of 'void BeaconNano::begin(int, int, int, int)' void begin(std::string uuid, int major, int minor, int tx); ^~~~~ invalid conversion from 'const char*' to 'int' [-fpermissive]

the problem occurs on an nano 33 iot