Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-cloud-workshop-connect-HTS221 by
sn_grs.c File Reference
General resource server. More...
Go to the source code of this file.
Functions | |
| int8_t | sn_nsdl_build_registration_body (struct nsdl_s *handle, sn_coap_hdr_s *message_ptr, uint8_t updating_registeration) |
| To build GRS resources to registration message payload. | |
| sn_nsdl_dynamic_resource_parameters_s * | sn_grs_search_resource (struct grs_s *handle, const char *path, uint8_t search_method) |
| Searches given resource from linked list. | |
Detailed Description
General resource server.
Definition in file sn_grs.c.
Function Documentation
| sn_nsdl_dynamic_resource_parameters_s* sn_grs_search_resource | ( | struct grs_s * | handle, |
| const char * | path, | ||
| uint8_t | search_method | ||
| ) |
Searches given resource from linked list.
Search either precise path, or subresources, eg. dr/x -> returns dr/x/1, dr/x/2 etc...
- Parameters:
-
pathlen Length of the path to be search *path Pointer to the path string to be search search_method Search method, SEARCH or DELETE
- Returns:
- Pointer to the resource. If resource not found, return value is NULL
| int8_t sn_nsdl_build_registration_body | ( | struct nsdl_s * | handle, |
| sn_coap_hdr_s * | message_ptr, | ||
| uint8_t | updating_registeration | ||
| ) |
Generated on Tue Jul 12 2022 19:12:18 by
1.7.2
