23#ifndef LELY_CO_INTERN_NMT_BOOT_H_
24#define LELY_CO_INTERN_NMT_BOOT_H_
52void *__co_nmt_boot_alloc(
void);
53void __co_nmt_boot_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_boot_destroy(co_nmt_boot_t *boot)
Destroys a CANopen NMT 'boot slave' service.
int co_nmt_boot_boot_req(co_nmt_boot_t *boot, co_unsigned8_t id, int timeout, co_csdo_ind_t *dn_ind, co_csdo_ind_t *up_ind, void *data)
Starts a CANopen NMT 'boot slave' service.
co_nmt_boot_t * co_nmt_boot_create(can_net_t *net, co_dev_t *dev, co_nmt_t *nmt)
Creates a new CANopen NMT 'boot slave' service.
void co_nmt_boot_con(co_nmt_t *nmt, co_unsigned8_t id, co_unsigned8_t st, char es)
The CANopen NMT 'boot slave' confirmation function, invoked when the 'boot slave' process completes.
This is the internal header file of the CANopen library.
A CANopen NMT 'boot slave' service.
co_nmt_t * nmt
A pointer to an NMT master service.
can_net_t * net
A pointer to a CAN network interface.
co_dev_t * dev
A pointer to a CANopen device.
int timeout
The SDO timeout (in milliseconds).
co_unsigned8_t st
The state of the node (including the toggle bit).
A CANopen NMT master/slave service.