Home
last modified time | relevance | path

Searched refs:service (Results 1 – 25 of 229) sorted by relevance

12345678910

/Zephyr-latest/subsys/net/lib/coap/
Dcoap_server_shell.c23 COAP_SERVICE_FOREACH(service) { in cmd_list()
27 service->name, in cmd_list()
28 service->data->sock_fd < 0 ? "INACTIVE" : "ACTIVE", in cmd_list()
29 service->host != NULL ? service->host : "", in cmd_list()
30 *service->port); in cmd_list()
50 COAP_SERVICE_FOREACH(service) { in cmd_start()
51 if (strcmp(argv[1], service->name) == 0) { in cmd_start()
52 ret = coap_service_start(service); in cmd_start()
73 COAP_SERVICE_FOREACH(service) { in cmd_stop()
74 if (strcmp(argv[1], service->name) == 0) { in cmd_stop()
[all …]
Dcoap_server.c84 static int coap_service_remove_observer(const struct coap_service *service, in coap_service_remove_observer() argument
93 obs = coap_find_observer(service->data->observers, MAX_OBSERVERS, addr, token, tkl); in coap_service_remove_observer()
96 obs = coap_find_observer_by_token(service->data->observers, MAX_OBSERVERS, token, in coap_service_remove_observer()
99 obs = coap_find_observer_by_addr(service->data->observers, MAX_OBSERVERS, addr); in coap_service_remove_observer()
110 COAP_SERVICE_FOREACH_RESOURCE(service, it) { in coap_service_remove_observer()
130 struct coap_service *service = NULL; in coap_server_process() local
165 service = svc; in coap_server_process()
169 if (service == NULL) { in coap_server_process()
203 ret = coap_service_send(service, &response, &client_addr, client_addr_len, NULL); in coap_server_process()
212 pending = coap_pending_received(&request, service->data->pending, MAX_PENDINGS); in coap_server_process()
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp.c53 static void tester_send_with_index(uint8_t service, uint8_t opcode, uint8_t index,
55 static void tester_rsp_with_index(uint8_t service, uint8_t opcode, uint8_t index,
58 void tester_register_command_handlers(uint8_t service, in tester_register_command_handlers() argument
62 __ASSERT_NO_MSG(service <= BTP_SERVICE_ID_MAX); in tester_register_command_handlers()
63 __ASSERT_NO_MSG(service_handler[service].handlers == NULL); in tester_register_command_handlers()
65 service_handler[service].handlers = handlers; in tester_register_command_handlers()
66 service_handler[service].num = num; in tester_register_command_handlers()
69 static const struct btp_handler *find_btp_handler(uint8_t service, uint8_t opcode) in find_btp_handler() argument
71 if ((service > BTP_SERVICE_ID_MAX) || in find_btp_handler()
72 (service_handler[service].handlers == NULL)) { in find_btp_handler()
[all …]
/Zephyr-latest/samples/subsys/ipc/ipc_service/multi_endpoint/
DREADME.rst2 :name: IPC service: Multi-endpoint
32 IPC-service HOST [INST 0 - ENDP A] demo started
33 IPC-service HOST [INST 0 - ENDP B] demo started
34 IPC-service HOST [INST 1] demo started
41 IPC-service HOST [INST 0 - ENDP A] demo ended.
43 IPC-service HOST [INST 0 - ENDP B] demo ended.
45 IPC-service HOST [INST 1] demo ended.
50 IPC-service REMOTE [INST 0 - ENDP A] demo started
51 IPC-service REMOTE [INST 0 - ENDP B] demo started
52 IPC-service REMOTE [INST 1] demo started
[all …]
/Zephyr-latest/include/zephyr/net/
Ddns_sd.h116 .service = _service, \
161 #define DNS_SD_REGISTER_TCP_SERVICE(id, instance, service, domain, text, \ argument
164 DNS_SD_REGISTER_SERVICE(id, instance, service, "_tcp", domain, \
190 #define DNS_SD_REGISTER_UDP_SERVICE(id, instance, service, domain, text, \ argument
193 DNS_SD_REGISTER_SERVICE(id, instance, service, "_udp", domain, \
219 const char *service; member
Dsocket_offload.h30 int (*getaddrinfo)(const char *node, const char *service,
46 int socket_offload_getaddrinfo(const char *node, const char *service,
Dsocket_service.h163 __syscall int net_socket_service_register(const struct net_socket_service_desc *service,
175 static inline int net_socket_service_unregister(const struct net_socket_service_desc *service) in net_socket_service_unregister() argument
177 return net_socket_service_register(service, NULL, 0, NULL); in net_socket_service_unregister()
/Zephyr-latest/modules/hal_nordic/nrfs/
DKconfig81 bool "Reset service"
85 bool "MRAM latency service"
89 bool "Temperature service"
99 bool "DPPI constant latency service"
104 bool "PMIC service"
108 bool "DVFS service"
113 bool "System Diagnostics service (only for development purposes)"
117 bool "Clock service"
122 bool "Global domain power request service"
127 bool "Global domain frequency scaling service"
[all …]
/Zephyr-latest/cmake/sca/eclair/ECL/
Dlanguage_extensions.ecl2 -config=MC3R1.R1.2,behaviors+={hide,"service(STD.tokenext)&&category(^(__asm__|__attribute__|__type…
3 -config=MC3R1.R1.2,behaviors+={hide,"service(^STD.(stmtexpr|vptrarth|emptinit|emptrecd|arayzero|fun…
4 -config=MC3R1.R1.2,behaviors+={hide,"service(STD.nonstdc)&&category(^GCC diagnostic (push|pop|ignor…
5 -config=MC3R1.R1.2,behaviors+={hide,"service(STD.freestlb)&&category(^(string|fcntl|time|errno|ctyp…
6 -config=MC3R1.R1.2,behaviors+={hide,"service(STD.diag)&&category(^(ext_missing_varargs_arg|ext_past…
/Zephyr-latest/subsys/sip_svc/
DKconfig1 # ARM SiP service configuration options
20 int "ARM SiP service init function priority"
24 int "ARM SiP service thread stack size"
27 Stack size of the ARM SiP service.
32 int "ARM SiP service thread priority"
35 Priority of the ARM SiP service.
40 int "ARM SiP service request message queue depth"
70 bool "ARM SiP SVC service shell"
73 Enable ARM SiP SVC service shell support to communicate with EL3/EL2
/Zephyr-latest/doc/connectivity/networking/api/
Dsocket_service.rst13 The socket service API can be used to install a handler that is called if there
15 for each TCP or UDP service that the application provides. Instead one thread
19 See :zephyr:code-sample:`sockets-service-echo` sample application to learn how
20 to create a simple BSD socket based server application using the sockets service API.
27 Socket service API is enabled using :kconfig:option:`CONFIG_NET_SOCKETS_SERVICE`
32 Define a network socket service. This socket service is created with extern
37 Define a network socket service with static scope. This socket service can only
42 Register pollable sockets for this service. User must create the sockets
47 Remove pollable sockets for this service. User can close the sockets after
58 If the socket service API is enabled, an application must create the service like
[all …]
/Zephyr-latest/samples/subsys/ipc/ipc_service/icmsg/
DREADME.rst2 :name: IPC service: icmsg backend
5 Send messages between two cores using the IPC service and icmsg backend.
37 [00:00:00.415,985] <inf> host: IPC-service HOST demo started
43 [00:00:01.917,297] <inf> host: Reset IPC service
48 [00:00:02.924,224] <inf> host: IPC-service HOST demo ended
54 [00:00:00.006,256] <inf> remote: IPC-service REMOTE demo started
59 [00:00:01.417,602] <inf> remote: IPC-service REMOTE demo ended
61 [00:00:00.006,256] <inf> remote: IPC-service REMOTE demo started
65 [00:00:01.006,195] <inf> remote: IPC-service REMOTE demo ended
/Zephyr-latest/samples/net/mdns_responder/src/
Dmain.c17 extern void service(void);
44 service(); in main()
/Zephyr-latest/tests/net/lib/mdns_responder/src/
Dmain.c34 char service[DNS_SD_SERVICE_MAX_SIZE + NULL_CHAR_SIZE]; member
201 records[i].service = services[i].service; in test_setup()
241 static void free_service(struct service_info *service) in free_service() argument
243 service->used = false; in free_service()
244 service->instance[0] = '\0'; in free_service()
245 service->service[0] = '\0'; in free_service()
246 service->proto[0] = '\0'; in free_service()
247 service->domain[0] = '\0'; in free_service()
248 service->port = 0; in free_service()
332 static struct dns_sd_rec *alloc_ext_record(const char *instance, const char *service, in alloc_ext_record() argument
[all …]
/Zephyr-latest/samples/net/prometheus/
DKconfig9 bool "Enable HTTP service"
13 int "Port number for HTTP service"
18 bool "Enable HTTPS service"
22 int "Port number for HTTPS service"
/Zephyr-latest/samples/subsys/ipc/ipc_service/static_vrings/
DREADME.rst2 :name: IPC service: static vrings backend
5 Send messages between two cores using the IPC service and static vrings backend.
82 IPC-service HOST [INST 0 - ENDP A] demo started
83 IPC-service HOST [INST 0 - ENDP B] demo started
84 IPC-service HOST [INST 1] demo started
96 IPC-service REMOTE [INST 0 - ENDP A] demo started
97 IPC-service REMOTE [INST 0 - ENDP B] demo started
98 IPC-service REMOTE [INST 1] demo started
/Zephyr-latest/subsys/ipc/ipc_service/
DKconfig5 bool "IPC service support multiple backends"
7 Enables support for a service that can be shared by multiple
18 module-str = IPC service and backend
/Zephyr-latest/subsys/net/lib/sockets/
Dgetaddrinfo.c218 int z_impl_z_zsock_getaddrinfo_internal(const char *host, const char *service, in z_impl_z_zsock_getaddrinfo_internal() argument
245 if (service) { in z_impl_z_zsock_getaddrinfo_internal()
246 port = strtol(service, NULL, 10); in z_impl_z_zsock_getaddrinfo_internal()
254 if (service == NULL) { in z_impl_z_zsock_getaddrinfo_internal()
310 const char *service, in z_vrfy_z_zsock_getaddrinfo_internal() argument
324 if (service) { in z_vrfy_z_zsock_getaddrinfo_internal()
325 service_copy = k_usermode_string_alloc_copy((char *)service, 64); in z_vrfy_z_zsock_getaddrinfo_internal()
355 static int try_resolve_literal_addr(const char *host, const char *service, in try_resolve_literal_addr() argument
390 if (service) { in try_resolve_literal_addr()
391 port = strtol(service, NULL, 10); in try_resolve_literal_addr()
[all …]
Dsocket_offload.c25 int socket_offload_getaddrinfo(const char *node, const char *service, in socket_offload_getaddrinfo() argument
32 return dns_offload->getaddrinfo(node, service, hints, res); in socket_offload_getaddrinfo()
/Zephyr-latest/tests/subsys/ipc/ipc_service/boards/
Dqemu_cortex_a53.overlay7 compatible = "ipc-service-backend";
13 compatible = "ipc-service-backend";
/Zephyr-latest/subsys/bluetooth/services/
DKconfig.cts1 # Bluetooth GATT Battery service
7 bool "GATT Current Time service"
/Zephyr-latest/soc/nordic/nrf54h/gpd/
DKconfig5 bool "Global Power Domain service"
11 This option enables the Global Power Domain service.
/Zephyr-latest/subsys/ipc/rpmsg_service/
DKconfig25 bool "RPMsg service for multiple users"
29 Enables support for a service that can be shared by multiple
52 RPMsg service.
60 service users about received data from the system work queue.
63 int "Initialization priority of RPMsg service"
80 module-str = RPMsg service and backend
/Zephyr-latest/doc/services/resource_management/
Dindex.rst26 An on-off manager supports an arbitrary number of clients of a service
32 * The stable states are off, on, and error. The service always begins
33 in the off state. The service may also be in a transition to a given
38 transition). The service manages the state based on calls to
40 * The service transitions from off to on when first client request is
42 * The service transitions from on to off when last client release is
44 * Each service configuration provides functions that implement the
52 progress: when the service has turned off successfully it will be
70 Clients and other components interested in tracking all service state
71 changes, including when a service begins turning off or enters an error
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_engine.h156 int lwm2m_engine_add_service(k_work_handler_t service, uint32_t period_ms);
169 int lwm2m_engine_update_service_period(k_work_handler_t service, uint32_t period_ms);
178 int lwm2m_engine_call_at(k_work_handler_t service, int64_t timestamp);
186 int lwm2m_engine_call_now(k_work_handler_t service);

12345678910