Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosinigaglia committed Sep 27, 2019
2 parents dda401d + 8438e9e commit 3aa84bd
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -646,13 +646,12 @@ __Arguments__
- `id` - `String` - the id of the peripheral
- `name` - `String` - the name of the peripheral
- `rssi` - ` Number` - the RSSI value
- `advertising` - `JSON` - the advertising payload, according to platforms:
- [Android] contains the raw `bytes` and `data` (Base64 encoded string)
- [iOS] contains a JSON object with different keys according to [Apple's doc](https://developer.apple.com/documentation/corebluetooth/cbcentralmanagerdelegate/advertisement_data_retrieval_keys?language=objc), here are some examples:
- `kCBAdvDataChannel` - `Number`
- `kCBAdvDataIsConnectable` - `Number`
- `kCBAdvDataLocalName` - `String`
- `kCBAdvDataManufacturerData` - `JSON` - contains the raw `bytes` and `data` (Base64 encoded string)
- `advertising` - `JSON` - the advertising payload, here are some examples:
- `isConnetable` - `Boolean`
- `serviceUUIDs` - `Array of String`
- `manufacturerData` - `JSON` - contains the raw `bytes` and `data` (Base64 encoded string)
- `serviceData` - `JSON` - contains the raw `bytes` and `data` (Base64 encoded string)
- `txPowerLevel` - `Int`

__Examples__
```js
Expand Down

0 comments on commit 3aa84bd

Please sign in to comment.