The problem is that from time to time (e.g. every half hour or every hour) an incorrect reading comes, which I cannot verify correctness. About 90% of erroneous readings have an incorrect RSSI value (which is added and should be negative) - which I am able to bypass, but not always. Below is an example of a valid frame:
Code: Select all
{"id":"c0730d2f3666","address":"c0:73:0d:2f:36:66","addressType":"random","connectable":false,"advertisement":{"manufacturerData":{"type":"Buffer","data":[89,0,190,172,219,165,25,4,112,217,79,146,148,240,4,192,33,69,204,35,224,178,203,62,195,192]},"serviceData":[],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-60,"state":"disconnected"}Code: Select all
{"id":"c0730d2f3666","address":"c0:73:0d:2f:36:66","addressType":"random","connectable":false,"advertisement":{"manufacturerData":{"type":"Buffer","data":[89,0,190,172,219,165,25,4,112,217,79,146,148,240,4,192,33,69,204,35,224,178,203,62,4,0]},"serviceData":[],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":62,"state":"disconnected"}