/nrf52832-nimble/packages/NimBLE-latest/apps/ext_advertiser/src/ |
H A D | patterns.h | 21 0x00, 0x02, 0x00, 0x04, 0x00, 0x06, 0x00, 0x08, 0x00, 0x0a, 22 0x00, 0x0c, 0x00, 0x0e, 0x00, 0x10, 0x00, 0x12, 0x00, 0x14, 23 0x00, 0x16, 0x00, 0x18, 0x00, 0x1a, 0x00, 0x1c, 0x00, 0x1e, 24 0x00, 0x20, 0x00, 0x22, 0x00, 0x24, 0x00, 0x26, 0x00, 0x28, 25 0x00, 0x2a, 0x00, 0x2c, 0x00, 0x2e, 0x00, 0x30, 0x00, 0x32, 26 0x00, 0x34, 0x00, 0x36, 0x00, 0x38, 0x00, 0x3a, 0x00, 0x3c, 27 0x00, 0x3e, 0x00, 0x40, 0x00, 0x42, 0x00, 0x44, 0x00, 0x46, 28 0x00, 0x48, 0x00, 0x4a, 0x00, 0x4c, 0x00, 0x4e, 0x00, 0x50, 29 0x00, 0x52, 0x00, 0x54, 0x00, 0x56, 0x00, 0x58, 0x00, 0x5a, 30 0x00, 0x5c, 0x00, 0x5e, 0x00, 0x60, 0x00, 0x62, 0x00, 0x64, [all …]
|
/nrf52832-nimble/rt-thread/components/drivers/spi/ |
H A D | enc28j60.h | 21 // - Register address (bits 0-4) 24 #define ADDR_MASK 0x1F 25 #define BANK_MASK 0x60 26 #define SPRD_MASK 0x80 28 #define EIE 0x1B 29 #define EIR 0x1C 30 #define ESTAT 0x1D 31 #define ECON2 0x1E 32 #define ECON1 0x1F 33 // Bank 0 registers [all …]
|
/nrf52832-nimble/rt-thread/components/drivers/include/drivers/ |
H A D | sdio.h | 27 #define SDIO_REG_CCCR_CCCR_REV 0x00 29 #define SDIO_CCCR_REV_1_00 0 /* CCCR/FBR Version 1.00 */ 34 #define SDIO_SDIO_REV_1_00 0 /* SDIO Spec Version 1.00 */ 39 #define SDIO_REG_CCCR_SD_REV 0x01 41 #define SDIO_SD_REV_1_01 0 /* SD Physical Spec Version 1.01 */ 45 #define SDIO_REG_CCCR_IO_EN 0x02 46 #define SDIO_REG_CCCR_IO_RDY 0x03 48 #define SDIO_REG_CCCR_INT_EN 0x04 /* Function/Master Interrupt Enable */ 49 #define SDIO_REG_CCCR_INT_PEND 0x05 /* Function Interrupt Pending */ 51 #define SDIO_REG_CCCR_IO_ABORT 0x06 /* function abort/card reset */ [all …]
|
H A D | serial.h | 38 #define STOP_BITS_1 0 46 #define PARITY_NONE 0 51 #define BIT_ORDER_LSB 0 54 #define NRZ_NORMAL 0 /* Non Return to Zero : normal mode */ 61 #define RT_SERIAL_EVENT_RX_IND 0x01 /* Rx indication */ 62 #define RT_SERIAL_EVENT_TX_DONE 0x02 /* Tx complete */ 63 #define RT_SERIAL_EVENT_RX_DMADONE 0x03 /* Rx DMA transfer done */ 64 #define RT_SERIAL_EVENT_TX_DMADONE 0x04 /* Tx DMA transfer done */ 65 #define RT_SERIAL_EVENT_RX_TIMEOUT 0x05 /* Rx timeout */ 67 #define RT_SERIAL_DMA_RX 0x01 [all …]
|
H A D | usb_common.h | 22 #define RT_DEBUG_USB 0x00 23 #define USB_DYNAMIC 0x00 25 #define USB_CLASS_DEVICE 0x00 26 #define USB_CLASS_AUDIO 0x01 27 #define USB_CLASS_CDC 0x02 28 #define USB_CLASS_HID 0x03 29 #define USB_CLASS_PHYSICAL 0x05 30 #define USB_CLASS_IMAGE 0x06 31 #define USB_CLASS_PRINTER 0x07 32 #define USB_CLASS_MASS_STORAGE 0x08 [all …]
|
H A D | pin.h | 29 #define PIN_LOW 0x00 30 #define PIN_HIGH 0x01 32 #define PIN_MODE_OUTPUT 0x00 33 #define PIN_MODE_INPUT 0x01 34 #define PIN_MODE_INPUT_PULLUP 0x02 35 #define PIN_MODE_INPUT_PULLDOWN 0x03 36 #define PIN_MODE_OUTPUT_OD 0x04 38 #define PIN_IRQ_MODE_RISING 0x00 39 #define PIN_IRQ_MODE_FALLING 0x01 40 #define PIN_IRQ_MODE_RISING_FALLING 0x02 [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/include/host/ |
H A D | ble_sm.h | 30 #define BLE_SM_ERR_PASSKEY 0x01 31 #define BLE_SM_ERR_OOB 0x02 32 #define BLE_SM_ERR_AUTHREQ 0x03 33 #define BLE_SM_ERR_CONFIRM_MISMATCH 0x04 34 #define BLE_SM_ERR_PAIR_NOT_SUPP 0x05 35 #define BLE_SM_ERR_ENC_KEY_SZ 0x06 36 #define BLE_SM_ERR_CMD_NOT_SUPP 0x07 37 #define BLE_SM_ERR_UNSPECIFIED 0x08 38 #define BLE_SM_ERR_REPEATED 0x09 39 #define BLE_SM_ERR_INVAL 0x0a [all …]
|
H A D | ble_hs_adv.h | 45 /*** 0x01 - Flags. */ 48 /*** 0x02,0x03 - 16-bit service class UUIDs. */ 53 /*** 0x04,0x05 - 32-bit service class UUIDs. */ 58 /*** 0x06,0x07 - 128-bit service class UUIDs. */ 63 /*** 0x08,0x09 - Local name. */ 68 /*** 0x0a - Tx power level. */ 72 /*** 0x0d - Slave connection interval range. */ 75 /*** 0x16 - Service data - 16-bit UUID. */ 79 /*** 0x17 - Public target address. */ 83 /*** 0x19 - Appearance. */ [all …]
|
H A D | ble_att.h | 37 #define BLE_ATT_UUID_PRIMARY_SERVICE 0x2800 38 #define BLE_ATT_UUID_SECONDARY_SERVICE 0x2801 39 #define BLE_ATT_UUID_INCLUDE 0x2802 40 #define BLE_ATT_UUID_CHARACTERISTIC 0x2803 42 #define BLE_ATT_ERR_INVALID_HANDLE 0x01 43 #define BLE_ATT_ERR_READ_NOT_PERMITTED 0x02 44 #define BLE_ATT_ERR_WRITE_NOT_PERMITTED 0x03 45 #define BLE_ATT_ERR_INVALID_PDU 0x04 46 #define BLE_ATT_ERR_INSUFFICIENT_AUTHEN 0x05 47 #define BLE_ATT_ERR_REQ_NOT_SUPPORTED 0x06 [all …]
|
H A D | ble_hs_hci.h | 41 * map[0] & 0x01 --> Channel 0. 42 * map[0] & 0x02 --> Channel 1. 44 * map[1] & 0x01 --> Channel 8. 57 * @return 0 on success; 69 * map[0] & 0x01 --> Channel 0. 70 * map[0] & 0x02 --> Channel 1. 72 * map[1] & 0x01 --> Channel 8. 82 * @return 0 on success;
|
/nrf52832-nimble/rt-thread/components/drivers/usb/usbdevice/class/ |
H A D | hid.h | 18 #define HID_DESCRIPTOR_TYPE 0x21 19 #define HID_DESCRIPTOR_SIZE 0x09 20 #define HID_OFF_HID_DESC 0x12 22 #define USB_HID_SUBCLASS_BOOT 0x01 23 #define USB_HID_SUBCLASS_NOBOOT 0x00 25 #define USB_HID_PROTOCOL_NONE 0x00 26 #define USB_HID_PROTOCOL_KEYBOARD 0x01 27 #define USB_HID_PROTOCOL_MOUSE 0x02 30 #define USB_HID_REQ_GET_REPORT 0x01 31 #define USB_HID_REQ_GET_IDLE 0x02 [all …]
|
H A D | cdc.h | 15 #define USB_CDC_BUFSIZE 0x40 17 #define USB_CDC_CLASS_COMM 0x02 18 #define USB_CDC_CLASS_DATA 0x0A 20 #define USB_CDC_SUBCLASS_NONE 0x00 21 #define USB_CDC_SUBCLASS_DLCM 0x01 22 #define USB_CDC_SUBCLASS_ACM 0x02 23 #define USB_CDC_SUBCLASS_TCM 0x03 24 #define USB_CDC_SUBCLASS_MCCM 0x04 25 #define USB_CDC_SUBCLASS_CCM 0x05 26 #define USB_CDC_SUBCLASS_ETH 0x06 [all …]
|
H A D | hid.c | 42 USAGE_PAGE(1), 0x01, 43 USAGE(1), 0x06, 44 COLLECTION(1), 0x01, 47 USAGE_PAGE(1), 0x07, 48 USAGE_MINIMUM(1), 0xE0, 49 USAGE_MAXIMUM(1), 0xE7, 50 LOGICAL_MINIMUM(1), 0x00, 51 LOGICAL_MAXIMUM(1), 0x01, 52 REPORT_SIZE(1), 0x01, 53 REPORT_COUNT(1), 0x08, [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/include/ |
H A D | dfs_poll.h | 19 #define POLLIN (0x01) 20 #define POLLRDNORM (0x01) 21 #define POLLRDBAND (0x01) 22 #define POLLPRI (0x01) 24 #define POLLOUT (0x02) 25 #define POLLWRNORM (0x02) 26 #define POLLWRBAND (0x02) 28 #define POLLERR (0x04) 29 #define POLLHUP (0x08) 30 #define POLLNVAL (0x10)
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/test/src/ |
H A D | ble_sm_test.c | 39 uint8_t u[32] = { 0xe6, 0x9d, 0x35, 0x0e, 0x48, 0x01, 0x03, 0xcc, in TEST_CASE() 40 0xdb, 0xfd, 0xf4, 0xac, 0x11, 0x91, 0xf4, 0xef, in TEST_CASE() 41 0xb9, 0xa5, 0xf9, 0xe9, 0xa7, 0x83, 0x2c, 0x5e, in TEST_CASE() 42 0x2c, 0xbe, 0x97, 0xf2, 0xd2, 0x03, 0xb0, 0x20 }; in TEST_CASE() 43 uint8_t v[32] = { 0xfd, 0xc5, 0x7f, 0xf4, 0x49, 0xdd, 0x4f, 0x6b, in TEST_CASE() 44 0xfb, 0x7c, 0x9d, 0xf1, 0xc2, 0x9a, 0xcb, 0x59, in TEST_CASE() 45 0x2a, 0xe7, 0xd4, 0xee, 0xfb, 0xfc, 0x0a, 0x90, in TEST_CASE() 46 0x9a, 0xbb, 0xf6, 0x32, 0x3d, 0x8b, 0x18, 0x55 }; in TEST_CASE() 47 uint8_t x[16] = { 0xab, 0xae, 0x2b, 0x71, 0xec, 0xb2, 0xff, 0xff, in TEST_CASE() 48 0x3e, 0x73, 0x77, 0xd1, 0x54, 0x84, 0xcb, 0xd5 }; in TEST_CASE() [all …]
|
H A D | ble_sm_sc_test.c | 40 * Initiator address type: 0 41 * Responder address type: 0 51 0xca, 0x61, 0xa0, 0x67, 0x94, 0xe0, in TEST_CASE() 54 0x33, 0x22, 0x11, 0x00, 0x45, 0x0a, in TEST_CASE() 57 .io_cap = 0x03, in TEST_CASE() 58 .oob_data_flag = 0x00, in TEST_CASE() 59 .authreq = 0x09, in TEST_CASE() 60 .max_enc_key_size = 0x10, in TEST_CASE() 61 .init_key_dist = 0x0d, in TEST_CASE() 62 .resp_key_dist = 0x0f, in TEST_CASE() [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/src/uffs/ |
H A D | uffs_ecc.c | 45 0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4, 64 0x00, 0x02, 0x08, 0x0a, 0x20, 0x22, 0x28, 0x2a, 65 0x80, 0x82, 0x88, 0x8a, 0xa0, 0xa2, 0xa8, 0xaa 69 0x00, 0x01, 0x04, 0x05, 0x10, 0x11, 0x14, 0x15, 70 0x40, 0x41, 0x44, 0x45, 0x50, 0x51, 0x54, 0x55 74 0x00, 0x55, 0x59, 0x0c, 0x65, 0x30, 0x3c, 0x69, 75 0x69, 0x3c, 0x30, 0x65, 0x0c, 0x59, 0x55, 0x00, 76 0x95, 0xc0, 0xcc, 0x99, 0xf0, 0xa5, 0xa9, 0xfc, 77 0xfc, 0xa9, 0xa5, 0xf0, 0x99, 0xcc, 0xc0, 0x95, 78 0x99, 0xcc, 0xc0, 0x95, 0xfc, 0xa9, 0xa5, 0xf0, [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/include/nimble/ |
H A D | ble.h | 57 * 0x01: Set if there was a match on the whitelist 58 * 0x02: Set if a connect request was transmitted upon receiving pdu 59 * 0x04: Set the first time we transmit the PDU (used to detect retry). 60 * channel: The logical BLE channel PHY channel # (0 - 39) 61 * crcok: flag denoting CRC check passed (1) or failed (0). 79 #define BLE_MBUF_HDR_F_EXT_ADV_SEC (0x1000) 80 #define BLE_MBUF_HDR_F_EXT_ADV (0x0800) 81 #define BLE_MBUF_HDR_F_RESOLVED (0x0400) 82 #define BLE_MBUF_HDR_F_AUX_PTR_WAIT (0x0200) 83 #define BLE_MBUF_HDR_F_AUX_INVALID (0x0100) [all …]
|
/nrf52832-nimble/rt-thread/components/net/sal_socket/include/ |
H A D | sal_netdb.h | 30 #define AI_PASSIVE 0x01 31 #define AI_CANONNAME 0x02 32 #define AI_NUMERICHOST 0x04 33 #define AI_NUMERICSERV 0x08 34 #define AI_V4MAPPED 0x10 35 #define AI_ALL 0x20 36 #define AI_ADDRCONFIG 0x40 39 #define AI_PASSIVE 0x01 40 #define AI_CANONNAME 0x02 41 #define AI_NUMERICHOST 0x04 [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/src/ |
H A D | foundation.h | 12 #define OP_APP_KEY_ADD BT_MESH_MODEL_OP_1(0x00) 13 #define OP_APP_KEY_UPDATE BT_MESH_MODEL_OP_1(0x01) 14 #define OP_DEV_COMP_DATA_STATUS BT_MESH_MODEL_OP_1(0x02) 15 #define OP_MOD_PUB_SET BT_MESH_MODEL_OP_1(0x03) 16 #define OP_HEALTH_CURRENT_STATUS BT_MESH_MODEL_OP_1(0x04) 17 #define OP_HEALTH_FAULT_STATUS BT_MESH_MODEL_OP_1(0x05) 18 #define OP_HEARTBEAT_PUB_STATUS BT_MESH_MODEL_OP_1(0x06) 19 #define OP_APP_KEY_DEL BT_MESH_MODEL_OP_2(0x80, 0x00) 20 #define OP_APP_KEY_GET BT_MESH_MODEL_OP_2(0x80, 0x01) 21 #define OP_APP_KEY_LIST BT_MESH_MODEL_OP_2(0x80, 0x02) [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/apps/blemesh_models_example_2/src/ |
H A D | device_composition.h | 11 #define CID_RUNTIME 0x05C3 13 #define STATE_OFF 0x00 14 #define STATE_ON 0x01 15 #define STATE_DEFAULT 0x01 16 #define STATE_RESTORE 0x02 19 #define LIGHTNESS_MIN 0x0001 20 #define LIGHTNESS_MAX 0xFFFF 21 #define TEMP_MIN 0x0320 22 #define TEMP_MAX 0x4E20 25 #define RANGE_SUCCESSFULLY_UPDATED 0x00 [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/apps/blecsc/src/ |
H A D | blecsc_sens.h | 31 #define GATT_CSC_UUID 0x1816 32 #define GATT_CSC_MEASUREMENT_UUID 0x2A5B 33 #define GATT_CSC_FEATURE_UUID 0x2A5C 34 #define GATT_SENSOR_LOCATION_UUID 0x2A5D 35 #define GATT_SC_CONTROL_POINT_UUID 0x2A55 37 #define GATT_DEVICE_INFO_UUID 0x180A 38 #define GATT_MANUFACTURER_NAME_UUID 0x2A29 39 #define GATT_MODEL_NUMBER_UUID 0x2A24 42 #define CSC_MEASUREMENT_WHEEL_REV_PRESENT 0x01 43 #define CSC_MEASUREMENT_CRANK_REV_PRESENT 0x02 [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/test/unit/dhcp/ |
H A D | test_dhcp.c | 11 static const u8_t broadcast[6] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; 13 static const u8_t magic_cookie[] = { 0x63, 0x82, 0x53, 0x63 }; 16 0x00, 0x23, 0xc1, 0xde, 0xd0, 0x0d, /* To unit */ 17 0x00, 0x0F, 0xEE, 0x30, 0xAB, 0x22, /* From Remote host */ 18 0x08, 0x00, /* Protocol: IP */ 19 …0x45, 0x10, 0x01, 0x48, 0x00, 0x00, 0x00, 0x00, 0x80, 0x11, 0x36, 0xcc, 0xc3, 0xaa, 0xbd, 0xab, 0x… 20 0x00, 0x43, 0x00, 0x44, 0x01, 0x34, 0x00, 0x00, /* UDP header */ 22 0x02, /* Type == Boot reply */ 23 0x01, 0x06, /* Hw Ethernet, 6 bytes addrlen */ 24 0x00, /* 0 hops */ [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/test/unit/dhcp/ |
H A D | test_dhcp.c | 11 static const u8_t broadcast[6] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; 13 static const u8_t magic_cookie[] = { 0x63, 0x82, 0x53, 0x63 }; 16 0x00, 0x23, 0xc1, 0xde, 0xd0, 0x0d, /* To unit */ 17 0x00, 0x0F, 0xEE, 0x30, 0xAB, 0x22, /* From Remote host */ 18 0x08, 0x00, /* Protocol: IP */ 19 …0x45, 0x10, 0x01, 0x48, 0x00, 0x00, 0x00, 0x00, 0x80, 0x11, 0x36, 0xcc, 0xc3, 0xaa, 0xbd, 0xab, 0x… 20 0x00, 0x43, 0x00, 0x44, 0x01, 0x34, 0x00, 0x00, /* UDP header */ 22 0x02, /* Type == Boot reply */ 23 0x01, 0x06, /* Hw Ethernet, 6 bytes addrlen */ 24 0x00, /* 0 hops */ [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/include/mesh/ |
H A D | main.h | 21 BT_MESH_NO_OUTPUT = 0, 22 BT_MESH_BLINK = BIT(0), 30 BT_MESH_NO_INPUT = 0, 31 BT_MESH_PUSH = BIT(0), 38 BT_MESH_PROV_ADV = BIT(0), 43 BT_MESH_PROV_OOB_OTHER = BIT(0), 221 #define BT_MESH_NET_PRIMARY 0x000 223 #define BT_MESH_RELAY_DISABLED 0x00 224 #define BT_MESH_RELAY_ENABLED 0x01 225 #define BT_MESH_RELAY_NOT_SUPPORTED 0x02 [all …]
|