MCPcopy Create free account
hub / github.com/dotintent/react-native-ble-plx / NativeDevice

Interface NativeDevice

src/BleModule.js:21–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 * @private
20 */
21export interface NativeDevice {
22 /**
23 * Device identifier: MAC address on Android and UUID on iOS.
24 * @private
25 */
26 id: DeviceId;
27 /**
28 * Device name if present
29 * @private
30 */
31 name: ?string;
32 /**
33 * Current Received Signal Strength Indication of device
34 * @private
35 */
36 rssi: ?number;
37 /**
38 * Current Maximum Transmission Unit for this device. When device is not connected
39 * default value of 23 is used.
40 * @private
41 */
42 mtu: number;
43
44 // Advertisement
45
46 /**
47 * Device's custom manufacturer data. Its format is defined by manufacturer.
48 * @private
49 */
50 manufacturerData: ?Base64;
51
52 /**
53 * Raw device scan data. When you have specific advertiser data,
54 * you can implement your own processing.
55 * @private
56 */
57 rawScanRecord: Base64;
58
59 /**
60 * Map of service UUIDs with associated data.
61 * @private
62 */
63 serviceData: ?{ [uuid: UUID]: Base64 };
64
65 /**
66 * List of available services visible during scanning.
67 * @private
68 */
69 serviceUUIDs: ?Array<UUID>;
70
71 /**
72 * User friendly name of device.
73 * @private
74 */
75 localName: ?string;
76
77 /**
78 * Transmission power level of device.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…