24 #ifndef LELY_CO_INTERN_NMT_CFG_H_
25 #define LELY_CO_INTERN_NMT_CFG_H_
61 void *__co_nmt_cfg_alloc(
void);
62 void __co_nmt_cfg_free(
void *ptr);
This header file is part of the CANopen library; it contains the Client-SDO declarations.
void co_csdo_ind_t(const co_csdo_t *sdo, co_unsigned16_t idx, co_unsigned8_t subidx, size_t size, size_t nbyte, void *data)
The type of a CANopen Client-SDO request progress indication function, used to notify the user of the...
This header file is part of the CANopen library; it contains the network management (NMT) declaration...
void co_nmt_cfg_ind(co_nmt_t *nmt, co_unsigned8_t id, co_csdo_t *sdo)
The CANopen NMT 'update configuration' indication function, invoked when a configuration request is r...
int co_nmt_cfg_cfg_req(co_nmt_cfg_t *cfg, co_unsigned8_t id, int timeout, co_csdo_ind_t *dn_ind, co_csdo_ind_t *up_ind, void *data)
Starts a CANopen NMT 'configuration request'.
void co_nmt_cfg_destroy(co_nmt_cfg_t *boot)
Destroys a CANopen NMT 'configuration request'.
co_nmt_cfg_t * co_nmt_cfg_create(can_net_t *net, co_dev_t *dev, co_nmt_t *nmt)
Creates a new CANopen NMT 'configuration request'.
void co_nmt_cfg_con(co_nmt_t *nmt, co_unsigned8_t id, co_unsigned32_t ac)
The CANopen NMT 'configuration request' confirmation function, invoked when a configuration request c...
int co_nmt_cfg_cfg_res(co_nmt_cfg_t *cfg, co_unsigned32_t ac)
Indicates the result of the 'update configuration' step of an NMT 'configuration request'.
This is the internal header file of the CANopen library.
A CANopen NMT 'configuration request' service.
co_nmt_t * nmt
A pointer to an NMT master service.
co_unsigned32_t ac
The SDO abort code.
co_dev_t * dev
A pointer to a CANopen device.
can_net_t * net
A pointer to a CAN network interface.
co_csdo_t * sdo
A pointer to the Client-SDO used to access slave objects.
A CANopen NMT master/slave service.