You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jsExceptionHere(JSET_TYPEERROR, "Expecting Object, Array or undefined, got %t", data);
@@ -1088,8 +1097,8 @@ NRF.setAdvertising([
1088
1097
interval: 600 // Advertising interval in msec, between 20 and 10000 (default is 375ms)
1089
1098
manufacturer: 0x0590 // This is the manufacturer ID. Set to `0/false` to disable manufacturer data (2v26+ advertises Espruino's 0x0590 by default)
1090
1099
manufacturerData: [...] // If sending manufacturer data, this is an array of data to send
1091
-
phy: "1mbps/2mbps/coded/coded,1mbps/1mbps,coded" // (NRF52833/NRF52840 only) use the long-range coded phy for transmission (1mbps default)
1092
-
extended : true // (NRF52833/NRF52840 only) force use of extended (>31 byte) advertising packets - usually only done if phy isn't set to "1mbps"
1100
+
phy: "1mbps/2mbps/coded/coded,1mbps/1mbps,coded" // ((2v26+, NRF52833/NRF52840 only) use the long-range coded phy for transmission (1mbps default)
1101
+
extended : true // (2v26+, NRF52833/NRF52840 only) force use of extended (>31 byte) advertising packets - usually only done if phy isn't set to "1mbps"
1093
1102
}
1094
1103
```
1095
1104
@@ -1324,7 +1333,6 @@ In addition, `options` can contain:
1324
1333
are left out (usually `[2,1,6]`). It can be very useful to do this
1325
1334
if you're using `NRF.getAdvertisingData(...)` to set a scan response packet:
1326
1335
1327
-
1328
1336
```
1329
1337
NRF.setScanResponse(NRF.getAdvertisingData({
1330
1338
0x1809 : [Math.round(E.getTemperature())] // temperature service data in scan response
@@ -1358,8 +1366,19 @@ NRF.setScanResponse([0x07, // Length of Data
0 commit comments