#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_coap_server_subscribe(
server: *mut PamojaCoapServer,
filter: *const c_char,
) -> PamojaStatusExpand description
Takes the readings sent to the paths a filter matches.
A PUT or POST to any other path is answered 4.04 Not Found.
§Arguments
server- the server.filter- the filter, as null-terminated UTF-8, with+for one level and#for the rest.
§Returns
PamojaStatus::Ok once the filter is in place.
§Safety
server must be a live handle and filter a valid null-terminated UTF-8
string.