anjay
Loading...
Searching...
No Matches
bg96_nidd.h
Go to the documentation of this file.
1/*
2 * Copyright 2017-2024 AVSystem <avsystem@avsystem.com>
3 * AVSystem Anjay LwM2M SDK
4 * All rights reserved.
5 *
6 * Licensed under the AVSystem-5-clause License.
7 * See the attached LICENSE file for details.
8 */
9#ifndef ANJAY_INCLUDE_ANJAY_BG96_NIDD_H
10#define ANJAY_INCLUDE_ANJAY_BG96_NIDD_H
11
12#include <anjay/core.h>
13#include <anjay/nidd.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
40typedef int anjay_bg96_nidd_getline_t(void *user_context,
41 char *out_line_buffer,
42 size_t buffer_size,
43 avs_time_monotonic_t deadline);
44
53typedef int anjay_bg96_nidd_write_t(void *user_context, const char *buffer);
54
60
72typedef int
75 char *out_value,
76 size_t size);
77
97
100
101#ifdef __cplusplus
102}
103#endif
104
105#endif /* ANJAY_INCLUDE_ANJAY_BG96_NIDD_H */
int anjay_bg96_nidd_getline_t(void *user_context, char *out_line_buffer, size_t buffer_size, avs_time_monotonic_t deadline)
Definition bg96_nidd.h:40
anjay_bg96_nidd_parameter_t
Definition bg96_nidd.h:55
@ ANJAY_BG96_NIDD_PASSWORD
Definition bg96_nidd.h:58
@ ANJAY_BG96_NIDD_APN
Definition bg96_nidd.h:56
@ ANJAY_BG96_NIDD_USERNAME
Definition bg96_nidd.h:57
anjay_nidd_driver_t * anjay_bg96_nidd_driver_create(const anjay_bg96_nidd_config_t *config)
int anjay_bg96_nidd_write_t(void *user_context, const char *buffer)
Definition bg96_nidd.h:53
int anjay_bg96_nidd_get_parameter_t(void *user_context, anjay_bg96_nidd_parameter_t parameter, char *out_value, size_t size)
Definition bg96_nidd.h:73
Definition bg96_nidd.h:78
const void * system_descriptor
Definition bg96_nidd.h:85
size_t incoming_mtu
Definition bg96_nidd.h:95
anjay_bg96_nidd_getline_t * modem_getline
Definition bg96_nidd.h:88
size_t outgoing_mtu
Definition bg96_nidd.h:93
anjay_bg96_nidd_write_t * modem_write
Definition bg96_nidd.h:89
void * user_context
Definition bg96_nidd.h:87
anjay_bg96_nidd_get_parameter_t * modem_get_parameter
Definition bg96_nidd.h:90
Definition nidd.h:169