/Zephyr-latest/doc/connectivity/networking/api/ |
D | mqtt_sn.rst | 3 MQTT-SN 13 MQTT-SN is a variant of the well-known MQTT protocol - see :ref:`mqtt_socket_interface`. 15 In contrast to MQTT, MQTT-SN does not require a TCP transport, but is designed to be used 19 Zephyr provides an MQTT-SN client library built on top of BSD sockets API. The 21 and is configurable at a per-client basis, with support for MQTT-SN version 22 1.2. The Zephyr MQTT-SN implementation can be used with any message-based transport, 25 MQTT-SN clients require an MQTT-SN gateway to connect to. These gateways translate between 26 MQTT-SN and MQTT. The Eclipse Paho project offers an implementation of a MQTT-SN gateway, but 28 https://www.eclipse.org/paho/index.php?page=components/mqtt-sn-transparent-gateway/index.php 30 The MQTT-SN spec v1.2 can be found here: [all …]
|
/Zephyr-latest/samples/net/mqtt_sn_publisher/ |
D | Kconfig | 1 # Configuration options for MQTT-SN sample 6 mainmenu "MQTT-SN sample application" 12 string "IP of the MQTT-SN gateway. Only used if NET_SAMPLE_MQTT_SN_STATIC_GATEWAY=n." 16 int "Port of the MQTT-SN gateway" 22 int "Port of the MQTT-SN broadcast"
|
D | README.rst | 1 .. zephyr:code-sample:: mqtt-sn-publisher 2 :name: MQTT-SN publisher 5 Send MQTT-SN PUBLISH messages to an MQTT-SN gateway. 14 MQTT-SN can be considered as a version of MQTT which is adapted to 16 requires a reliable TCP/IP transport, MQTT-SN is designed to be usable 20 The Zephyr MQTT-SN Publisher sample application is an MQTT-SN v1.2 21 client that sends MQTT-SN PUBLISH messages to an MQTT-SN gateway. 23 See the `MQTT-SN v1.2 spec`_ for more information. 25 .. _MQTT-SN v1.2 spec: https://www.oasis-open.org/committees/download.php/66091/MQTT-SN_spec_v1.2.p… 34 - MQTT-SN gateway, like Eclipse Paho [all …]
|
D | sample.yaml | 2 description: MQTT-SN publisher sample application 3 name: MQTT-SN publisher 10 sample.net.mqtt_publisher.sn:
|
D | prj.conf | 38 # MQTT-SN
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_w5500_priv.h | 30 #define W5500_Sn_MR 0x0000 /* Sn Mode Register */ 31 #define W5500_Sn_CR 0x0001 /* Sn Command Register */ 32 #define W5500_Sn_IR 0x0002 /* Sn Interrupt Register */ 33 #define W5500_Sn_SR 0x0003 /* Sn Status Register */ 34 #define W5500_Sn_TX_FSR 0x0020 /* Sn Transmit free memory size */ 35 #define W5500_Sn_TX_RD 0x0022 /* Sn Transmit memory read pointer */ 36 #define W5500_Sn_TX_WR 0x0024 /* Sn Transmit memory write pointer */ 37 #define W5500_Sn_RX_RSR 0x0026 /* Sn Receive free memory size */ 38 #define W5500_Sn_RX_RD 0x0028 /* Sn Receive memory read pointer */ 71 (0x1001e + (n) * 0x40000) /* Sn RX Memory Size */ [all …]
|
/Zephyr-latest/subsys/net/lib/mqtt_sn/ |
D | Kconfig | 1 # MQTT-SN Library for Zephyr 7 bool "MQTT-SN Library Support [EXPERIMENTAL]" 15 int "Maximum payload size of an MQTT-SN message" 59 int "Maximum number of clients Keep alive time for MQTT-SN (in seconds)" 63 Keep alive time for MQTT-SN (in seconds). Sending of Ping Requests to 67 bool "UDP transport for MQTT-SN" 97 module-str=Log level for MQTT-SN 98 module-help=Enables mqtt-sn debug messages.
|
D | mqtt_sn_msg.h | 9 * @brief Function and data structures internal to MQTT-SN module. 227 /**@brief MQTT-SN Flags-field bitmasks */
|
/Zephyr-latest/include/zephyr/net/ |
D | mqtt_sn.h | 9 * @brief MQTT-SN Client Implementation 12 * MQTT-SN Client's Application interface is defined in this header. 15 * @defgroup mqtt_sn_socket MQTT-SN Client library 41 * Quality of Service. QoS 0-2 work the same as basic MQTT, QoS -1 is an MQTT-SN addition. 52 * MQTT-SN topic types. 75 * MQTT-SN return codes. 142 * MQTT-SN event structure to be handled by the event callback. 164 * @brief Structure to describe an MQTT-SN transport. 166 * MQTT-SN does not require transports to be reliable or to hold a connection. 251 * Structure describing an MQTT-SN client. [all …]
|
D | dns_sd.h | 61 * <sn>._tcp.<domain>. 66 * <sub>._sub.<sn>._tcp.<servicedomain>.<parentdomain>. 76 * <instance>.<sn>._tcp.<domain>. 82 * <sub>._sub.<sn>._tcp.<servicedomain>.<parentdomain>.
|
/Zephyr-latest/samples/net/mqtt_sn_publisher/src/ |
D | udp.c | 44 LOG_INF("MQTT-SN event EVT_CONNECTED"); in evt_cb() 48 LOG_INF("MQTT-SN event EVT_DISCONNECTED"); in evt_cb() 52 LOG_INF("MQTT-SN event EVT_ASLEEP"); in evt_cb() 55 LOG_INF("MQTT-SN event EVT_AWAKE"); in evt_cb() 58 LOG_INF("MQTT-SN event EVT_PUBLISH"); in evt_cb() 63 LOG_INF("MQTT-SN event EVT_PINGRESP"); in evt_cb() 66 LOG_INF("MQTT-SN event EVT_ADVERTISE"); in evt_cb() 69 LOG_INF("MQTT-SN event EVT_GWINFO"); in evt_cb() 72 LOG_INF("MQTT-SN event EVT_SEARCHGW"); in evt_cb()
|
/Zephyr-latest/subsys/net/l2/ethernet/gptp/ |
D | gptp_user_api.c | 37 sys_snode_t *sn, *sns; in gptp_call_phase_dis_cb() local 43 SYS_SLIST_FOR_EACH_NODE_SAFE(&phase_dis_callbacks, sn, sns) { in gptp_call_phase_dis_cb() 45 CONTAINER_OF(sn, struct gptp_phase_dis_cb, node); in gptp_call_phase_dis_cb()
|
/Zephyr-latest/subsys/usb/device/ |
D | usb_descriptor.c | 337 static uint8_t sn[sizeof(CONFIG_USB_DEVICE_SN) + 1]; in usb_update_sn_string_descriptor() local 342 memset(sn, 0, sizeof(sn)); in usb_update_sn_string_descriptor() 349 sn[i * 2] = hex[hwid[i + skip] >> 4]; in usb_update_sn_string_descriptor() 350 sn[i * 2 + 1] = hex[hwid[i + skip] & 0xF]; in usb_update_sn_string_descriptor() 354 return sn; in usb_update_sn_string_descriptor() 357 static void usb_fix_ascii_sn_string_descriptor(struct usb_sn_descriptor *sn) in usb_fix_ascii_sn_string_descriptor() argument 374 LOG_WRN("the new SN descriptor doesn't have the same " in usb_fix_ascii_sn_string_descriptor() 378 memcpy(sn->bString, runtime_sn, MIN(runtime_sn_len, default_sn_len)); in usb_fix_ascii_sn_string_descriptor() 483 * Copy runtime SN string descriptor first, if has in usb_fix_descriptor() 486 struct usb_sn_descriptor *sn = in usb_fix_descriptor() local [all …]
|
/Zephyr-latest/samples/net/mqtt_sn_publisher/boards/ |
D | native_posix.conf | 1 # Configuration options for MQTT-SN sample
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_central_iso.c | 185 /* Adjust the SN and NESN for skipped CIG events */ in prepare_cb() 212 pdu_tx->sn = 0U; /* reserved RFU for NULL PDU */ in prepare_cb() 259 pdu_tx->sn = 0U; /* reserved RFU for NULL PDU */ in prepare_cb() 266 pdu_tx->sn = cis_lll->sn; in prepare_cb() 367 /* Adjust the SN and NESN for skipped CIG events */ in prepare_cb() 372 /* Adjust sn and nesn for skipped CIG events */ in prepare_cb() 375 /* Adjust sn and nesn for canceled events */ in prepare_cb() 409 /* Adjust the SN, NESN and payload_count on abort for CISes */ in abort_cb() 715 if ((pdu_rx->nesn != cis_lll->sn) && (cis_lll->tx.bn_curr <= cis_lll->tx.bn)) { in isr_rx() 716 cis_lll->sn++; in isr_rx() [all …]
|
D | lll_peripheral_iso.c | 206 /* Adjust sn and nesn for skipped CIG events */ in prepare_cb() 345 /* Adjust the SN and NESN for skipped CIG events */ in prepare_cb() 377 /* Adjust sn and nesn for skipped CIG events */ in prepare_cb() 380 /* Adjust sn and nesn for canceled events */ in prepare_cb() 413 /* Adjust the SN, NESN and payload_count on abort for CISes */ in abort_cb() 553 if ((pdu_rx->nesn != cis_lll->sn) && (cis_lll->tx.bn_curr <= cis_lll->tx.bn)) { in isr_rx() 554 cis_lll->sn++; in isr_rx() 572 (pdu_rx->sn == cis_lll->nesn) && in isr_rx() 657 pdu_tx->sn = 0U; /* reserved RFU for NULL PDU */ in isr_rx() 690 pdu_tx->sn = 0U; /* reserved RFU for NULL PDU */ in isr_rx() [all …]
|
D | lll_conn.c | 452 /* Fill sn and nesn */ 453 pdu_data_tx->sn = lll->sn; 1040 if (pdu_data_rx->nesn != lll->sn) { 1046 lll->sn++; 1122 if ((pdu_data_rx->sn == lll->nesn) && 1199 /* Fill sn and nesn */ 1200 pdu_data_tx->sn = lll->sn;
|
/Zephyr-latest/dts/bindings/sensor/ |
D | istentek,ist8310.yaml | 6 https://isentek.com/products_view.php?PID=10&sn=13
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | dns_sd.h | 46 * <sn>._tcp.<domain>. 47 * <instance>.<sn>._tcp.<domain>. 53 * <sub>._sub.<sn>._tcp.<servicedomain>.<parentdomain>.
|
/Zephyr-latest/subsys/net/lib/capture/ |
D | capture.c | 116 sys_snode_t *sn, *sns; in net_capture_foreach() local 120 SYS_SLIST_FOR_EACH_NODE_SAFE(&net_capture_devlist, sn, sns) { in net_capture_foreach() 123 ctx = CONTAINER_OF(sn, struct net_capture, node); in net_capture_foreach() 146 sys_snode_t *sn, *sns; in alloc_capture_dev() local 150 SYS_SLIST_FOR_EACH_NODE_SAFE(&net_capture_devlist, sn, sns) { in alloc_capture_dev() 151 ctx = CONTAINER_OF(sn, struct net_capture, node); in alloc_capture_dev() 517 sys_snode_t *sn, *sns; in net_capture_pkt_with_status() local 530 SYS_SLIST_FOR_EACH_NODE_SAFE(&net_capture_devlist, sn, sns) { in net_capture_pkt_with_status() 531 struct net_capture *ctx = CONTAINER_OF(sn, struct net_capture, in net_capture_pkt_with_status()
|
/Zephyr-latest/scripts/build/ |
D | elf_parser.py | 210 sn = sups.pop() 211 if sn.dep_ordinal in devices: 212 dev.devs_supports.add(devices[sn.dep_ordinal]) 215 for ssn in sn.required_by:
|
/Zephyr-latest/drivers/sensor/silabs/si7210/ |
D | si7210.c | 213 static int si7210_read_sn(const struct device *dev, uint32_t *sn) in si7210_read_sn() argument 229 *sn = val; in si7210_read_sn() 457 uint32_t sn; in si7210_init() local 504 rc = si7210_read_sn(dev, &sn); in si7210_init() 510 part_base, rev, part_variant, sn, config->bus.addr); in si7210_init()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll_central.c | 131 pdu_data_tx->sn = lll->sn; in prepare_cb()
|
D | lll_conn.c | 242 /* Fill sn and nesn */ in lll_conn_isr_rx() 243 pdu_data_tx->sn = lll->sn; in lll_conn_isr_rx() 645 if (pdu_data_rx->nesn != lll->sn) { in isr_rx_pdu() 650 lll->sn++; in isr_rx_pdu() 709 if ((pdu_data_rx->sn == lll->nesn) && in isr_rx_pdu()
|
/Zephyr-latest/cmake/bintools/arcmwdt/ |
D | elfconvert_command.cmake | 50 list(APPEND obj_copy_sections_only "-sn;${CMAKE_MATCH_1}")
|