Epson BT-2000 Developers Guide - Page 138
true: Received PDU is SCAN_RSP
![]() |
View all Epson BT-2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 138 highlights
8.7.24. BluetoothLeGapCallback.onScanResult Function Provide an interface for the callback function to receive scan results (Advertise data). Use format -2 to acquire the scan response and the advertise type. Related API: startScan/stopScan Format -1 void onScanResult(AddrType addrType, String addr, int rssi, byte[] adv_data); Format -2 void onScanResult(AddrType addrType, String addr, int rssi, boolean scan_rsp, AdvType adv_type, byte[] adv_data); Parameter Model name AddrType addrType String addr int rssi boolean scan_rsp AdvType adv_type byte[] adv_data Explanation Remote BD address classification Remote BD address Received radio wave strength (dBm) Scan response data true: Received PDU is SCAN_RSP false: Received PDU is anything except for SCAN_RSP Advertise type AdvType.ADV_IND AdvType.ADV_DIRECT_IND AdvType.ADV_SCAN_IND AdvType.ADV_NONCONN_IND AdvType.SCAN_RSP AdvType.UNKNOWN Advertise data (31octet) MOVERIO Pro Developer's Guide (Rev.1.0) 134
![](/manual_guide/products/epson-bt2000-developers-guide-3a30282/138.png)