/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/usb/usbdevice/class/ |
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/packages/NimBLE-latest/nimble/host/src/ |
H A D | ble_hs_hci_cmd.c | 44 case 0: in ble_hs_hci_cmd_transport() 45 return 0; in ble_hs_hci_cmd_transport() 79 if (len != 0) { in ble_hs_hci_cmd_send() 84 BLE_HS_LOG(DEBUG, "ble_hs_hci_cmd_send: ogf=0x%02x ocf=0x%04x len=%d\n", in ble_hs_hci_cmd_send() 92 if (rc == 0) { in ble_hs_hci_cmd_send() 118 BLE_HS_DBG_ASSERT(0); in ble_hs_hci_cmd_send_buf() 149 dst[0] = addr_type; in ble_hs_hci_cmd_body_le_whitelist_chg() 152 return 0; in ble_hs_hci_cmd_body_le_whitelist_chg() 169 (adv->adv_channel_map == 0) || in ble_hs_hci_cmd_body_le_set_adv_params() 170 ((adv->adv_channel_map & 0xF8) != 0)) { in ble_hs_hci_cmd_body_le_set_adv_params() [all …]
|
H A D | ble_sm_priv.h | 38 #define BLE_SM_OP_PAIR_REQ 0x01 39 #define BLE_SM_OP_PAIR_RSP 0x02 40 #define BLE_SM_OP_PAIR_CONFIRM 0x03 41 #define BLE_SM_OP_PAIR_RANDOM 0x04 42 #define BLE_SM_OP_PAIR_FAIL 0x05 43 #define BLE_SM_OP_ENC_INFO 0x06 44 #define BLE_SM_OP_MASTER_ID 0x07 45 #define BLE_SM_OP_IDENTITY_INFO 0x08 46 #define BLE_SM_OP_IDENTITY_ADDR_INFO 0x09 47 #define BLE_SM_OP_SIGN_INFO 0x0a [all …]
|
/nrf52832-nimble/rt-thread/libcpu/arm/lpc24xx/ |
H A D | LPC24xx.h | 18 #define USERMODE 0x10 19 #define FIQMODE 0x11 20 #define IRQMODE 0x12 21 #define SVCMODE 0x13 22 #define ABORTMODE 0x17 23 #define UNDEFMODE 0x1b 24 #define MODEMASK 0x1f 25 #define NOINT 0xc0 30 #define VIC_BASE_ADDR 0xFFFFF000 31 #define VICIRQStatus (*(volatile unsigned long *)(VIC_BASE_ADDR + 0x000)) [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_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_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 …]
|
/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/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/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/test/src/ |
H A D | ble_sm_lgcy_test.c | 51 0xe1, 0xfc, 0xda, 0xf4, 0xb7, 0x6c, in TEST_CASE() 54 0x33, 0x22, 0x11, 0x00, 0x45, 0x0a, in TEST_CASE() 57 .io_cap = 0x04, in TEST_CASE() 58 .oob_data_flag = 0x00, in TEST_CASE() 59 .authreq = 0x05, in TEST_CASE() 60 .max_enc_key_size = 0x10, in TEST_CASE() 61 .init_key_dist = 0x07, in TEST_CASE() 62 .resp_key_dist = 0x07, in TEST_CASE() 65 .io_cap = 0x03, in TEST_CASE() 66 .oob_data_flag = 0x00, 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/jffs2/cyg/compress/tests/ |
H A D | zlib2.c | 70 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x8d, 0x56, 0xdb, 0x6e, 0xe3, 0x36, 71 0x10, 0xed, 0x33, 0xbf, 0x82, 0x08, 0x50, 0x74, 0x03, 0xb8, 0xee, 0xa6, 0xed, 0x6e, 0x2f, 0x6f, 72 0xd9, 0x24, 0x8b, 0x06, 0xd8, 0x4b, 0x91, 0x2c, 0xba, 0xe8, 0x23, 0x4d, 0x8d, 0x6c, 0x22, 0x12, 73 0xa9, 0x92, 0x94, 0x9d, 0xfc, 0x7d, 0xcf, 0x0c, 0x25, 0x59, 0x72, 0x1a, 0xa0, 0x7e, 0x32, 0x45, 74 0x72, 0xe6, 0xcc, 0xcc, 0x99, 0x33, 0xbc, 0xa3, 0x4a, 0xff, 0x61, 0xb2, 0xa6, 0xab, 0x90, 0xf4, 75 0x9f, 0xfd, 0xa6, 0x71, 0x56, 0x7f, 0x70, 0x96, 0x7c, 0x22, 0xbd, 0xbf, 0x58, 0x5f, 0x28, 0xfc, 76 0x2e, 0xd6, 0xfa, 0xfa, 0xe6, 0xfd, 0xed, 0xa7, 0xdb, 0x2f, 0xb7, 0x9f, 0x3f, 0xdd, 0xf3, 0x1a, 77 0x5f, 0xce, 0xae, 0x82, 0xcf, 0xd1, 0x6d, 0xfa, 0x1c, 0xe2, 0x99, 0x6e, 0xc9, 0xf8, 0xa4, 0xc9, 78 0xd8, 0x9d, 0x26, 0x9f, 0x5d, 0x7e, 0xd2, 0x79, 0x07, 0xab, 0x36, 0x92, 0xc9, 0x94, 0x74, 0x88, 79 0xca, 0x8e, 0xc7, 0xb1, 0xcc, 0x01, 0xdb, 0x54, 0x76, 0x5d, 0xf0, 0x3a, 0xd4, 0xfa, 0x63, 0xa8, [all …]
|
/nrf52832-nimble/rt-thread/components/drivers/include/drivers/ |
H A D | audio.h | 15 #define _AUDIO_CTL(a) (0x10 + a) 31 #define AUDIO_TYPE_QUERY 0x00 32 #define AUDIO_TYPE_INPUT 0x01 33 #define AUDIO_TYPE_OUTPUT 0x02 34 #define AUDIO_TYPE_MIXER 0x04 35 #define AUDIO_TYPE_SELECTOR 0x08 36 #define AUDIO_TYPE_EFFECT 0x10 39 #define AUDIO_FMT_PCM_U8 0x0001 40 #define AUDIO_FMT_PCM_S8 0x0002 42 #define AUDIO_FMT_PCM_U16_LE 0x0010 [all …]
|
H A D | usb_host.h | 21 #define USB_MAX_DEVICE 0x20 22 #define USB_MAX_INTERFACE 0x08 23 #define USB_HUB_PORT_NUM 0x04 24 #define SIZEOF_USB_REQUEST 0x08 26 #define DEV_STATUS_IDLE 0x00 27 #define DEV_STATUS_BUSY 0x01 28 #define DEV_STATUS_ERROR 0x02 30 #define UPIPE_STATUS_OK 0x00 31 #define UPIPE_STATUS_STALL 0x01 32 #define UPIPE_STATUS_ERROR 0x02 [all …]
|
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 | sdio_func_ids.h | 20 #define SDIO_FUNC_CODE_NONE 0x00 /* Not a SDIO standard interface */ 21 #define SDIO_FUNC_CODE_UART 0x01 /* SDIO Standard UART */ 22 #define SDIO_FUNC_CODE_BT_A 0x02 /* SDIO Type-A for Bluetooth standard interface */ 23 #define SDIO_FUNC_CODE_BT_B 0x03 /* SDIO Type-B for Bluetooth standard interface */ 24 #define SDIO_FUNC_CODE_GPS 0x04 /* SDIO GPS standard interface */ 25 #define SDIO_FUNC_CODE_CAMERA 0x05 /* SDIO Camera standard interface */ 26 #define SDIO_FUNC_CODE_PHS 0x06 /* SDIO PHS standard interface */ 27 #define SDIO_FUNC_CODE_WLAN 0x07 /* SDIO WLAN interface */ 28 #define SDIO_FUNC_CODE_ATA 0x08 /* Embedded SDIO-ATA standard interface */ 32 #define SDIO_MANUFACTURER_ID_MARVELL 0x02df [all …]
|
/nrf52832-nimble/rt-thread/libcpu/arm/s3c24x0/ |
H A D | rtc.c | 20 #define RTC_ENABLE RTCCON |= 0x01; /*RTC read and write enable */ 21 #define RTC_DISABLE RTCCON &= ~0x01; /* RTC read and write disable */ 22 #define BCD2BIN(n) (((((n) >> 4) & 0x0F) * 10) + ((n) & 0x0F)) 55 ti->tm_sec = BCD2BIN(sec & 0x7F); in rt_hw_rtc_get() 56 ti->tm_min = BCD2BIN(min & 0x7F); in rt_hw_rtc_get() 57 ti->tm_hour = BCD2BIN(hour & 0x3F); in rt_hw_rtc_get() 58 ti->tm_mday = BCD2BIN(mday & 0x3F); in rt_hw_rtc_get() 59 ti->tm_mon = BCD2BIN(mon & 0x1F); in rt_hw_rtc_get() 61 ti->tm_wday = BCD2BIN(wday & 0x07); in rt_hw_rtc_get() 62 ti->tm_yday = 0; in rt_hw_rtc_get() [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/src/emu/ |
H A D | cmdline.c | 54 #define MAX_CLI_ENV_NUM 11 // '?', '0' - '9' 67 // Note: last command return code stored in env 0. 68 static int m_cli_envs[MAX_CLI_ENV_NUM] = {0}; // cli environment variables 113 if (*p >= '0' && *p <= '9') in cli_process_line() 114 *x = *p - '0'; in cli_process_line() 122 if (*p == '\r' || *p == '\n' || *p == '#') *p = '\0'; in cli_process_line() 127 if (*p == 0) in cli_process_line() 134 *p-- = '\0'; in cli_process_line() 143 if (env >= '0' && env <= '9') { in cli_env_to_idx() 144 idx = env - '0' + 1; in cli_env_to_idx() [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 | ble_mesh.h | 15 #define BT_MESH_MODEL_OP_GEN_ONOFF_GET BT_MESH_MODEL_OP_2(0x82, 0x01) 16 #define BT_MESH_MODEL_OP_GEN_ONOFF_SET BT_MESH_MODEL_OP_2(0x82, 0x02) 17 #define BT_MESH_MODEL_OP_GEN_ONOFF_SET_UNACK BT_MESH_MODEL_OP_2(0x82, 0x03) 18 #define BT_MESH_MODEL_OP_GEN_ONOFF_STATUS BT_MESH_MODEL_OP_2(0x82, 0x04) 20 #define BT_MESH_MODEL_OP_GEN_LEVEL_GET BT_MESH_MODEL_OP_2(0x82, 0x05) 21 #define BT_MESH_MODEL_OP_GEN_LEVEL_SET BT_MESH_MODEL_OP_2(0x82, 0x06) 22 #define BT_MESH_MODEL_OP_GEN_LEVEL_SET_UNACK BT_MESH_MODEL_OP_2(0x82, 0x07) 23 #define BT_MESH_MODEL_OP_GEN_LEVEL_STATUS BT_MESH_MODEL_OP_2(0x82, 0x08) 24 #define BT_MESH_MODEL_OP_GEN_DELTA_SET BT_MESH_MODEL_OP_2(0x82, 0x09) 25 #define BT_MESH_MODEL_OP_GEN_DELTA_SET_UNACK BT_MESH_MODEL_OP_2(0x82, 0x0A) [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/rt-thread/libcpu/mips/loongson_1c/ |
H A D | cache.h | 21 #define Index_Invalidate_I 0x00 22 #define Index_Writeback_Inv_D 0x01 23 #define Index_Invalidate_SI 0x02 24 #define Index_Writeback_Inv_SD 0x03 25 #define Index_Load_Tag_I 0x04 26 #define Index_Load_Tag_D 0x05 27 #define Index_Load_Tag_SI 0x06 28 #define Index_Load_Tag_SD 0x07 29 #define Index_Store_Tag_I 0x08 30 #define Index_Store_Tag_D 0x09 [all …]
|