How can I scan ibeacon with webOS?

i made a BLE Beacon using ESP32S.

and i want to scan it with my rpi4-64 for getting rssi data.

but it doesn't work.

if my beacon's uuid is "1d05786b-a75e-fa84-7f4d-0970cc467bb6",

then, how can i check this beacon's rssi?

how to get Subscription response?

i tried

luna-send -f -i luna://com.webos.service.bluetooth2/le/startScan '{
"subscribe":true,
"serviceUuid":{"uuid":"1d05786b-a75e-fa84-7f4d-0970cc467bb6"}
}'

RESPONSE :
{
"subscribed": true,
"returnValue": true,
"adapterAddress": "b8:27:eb:24:15:ef"
}

luna-send -f -i luna://com.webos.service.bluetooth2/le/startScan '{
"subscribe":true,
"serviceUuid":{"uuid":"1d05786b-a75e-fa84-7f4d-0970cc467bb6"},
"advertisingType":0x04
}'

{
"errorCode": 144,
"returnValue": false,
"errorText": "The JSON input does not match the expected schema"
}

luna-send -f -i luna://com.webos.service.bluetooth2/le/startScan '{
"subscribe":true,
"serviceUuid":{"uuid":"1d05786b-a75e-fa84-7f4d-0970cc467bb6"},
"advertisingType":38
}'

{
"errorCode": 144,
"returnValue": false,
"errorText": "The JSON input does not match the expected schema"
}

solved~!

XD

advertisingType doesnt work anymore.

1 Like