25 #ifndef OC_KNX_CLIENT_INTERNAL_H
26 #define OC_KNX_CLIENT_INTERNAL_H
45 typedef void (*
oc_spake_cb_t)(
int error,
char *serial_number,
char *oscore_id,
46 int oscore_id_size, uint8_t *secret,
89 char *serial_number,
char *password,
91 size_t recipient_id_len);
93 typedef void (*oc_s_mode_response_cb_t)(
char *url,
oc_rep_t *rep,
oc_rep_t * oc_s_mode_get_value(oc_request_t *request)
parses out the value of the s-mode request.
oc_s_mode_response_cb_t oc_get_s_mode_response_cb()
retrieve the callback function
bool oc_is_redirected_request(oc_request_t *request)
checks if the request is a redirected request from /k or /p when that happened, extra information can...
void oc_do_s_mode_with_scope(int scope, const char *resource_url, char *rp)
sends (transmits) an s-mode message the value comes from the GET of the resource indicated by the res...
bool oc_set_s_mode_response_cb(oc_s_mode_response_cb_t my_func)
set the s-mode response callback e.g.
void oc_do_s_mode_with_scope_no_check(int scope, const char *resource_url, char *rp)
sends (transmits) an s-mode message the value comes from the GET of the resource indicated by the res...
void oc_do_s_mode_read(int64_t group_address)
sends out an s-mode read request.
int oc_initiate_spake_parameter_request(oc_endpoint_t *endpoint, char *serial_number, char *password, char *recipient_id, size_t recipient_id_len)
initiate the spake handshake
bool oc_set_spake_response_cb(oc_spake_cb_t my_func)
set the spake response callback e.g.
int oc_initiate_spake(oc_endpoint_t *endpoint, char *password, char *recipient_id)
initiate the spake handshake
void(* oc_spake_cb_t)(int error, char *serial_number, char *oscore_id, int oscore_id_size, uint8_t *secret, int secret_size)
the spake response callback type e.g.
parsed entry of a cbor object This represents a link list of response values one can iterate over the...
request information structure