MCPcopy Create free account
hub / github.com/EIPStackGroup/OpENer / SetPathPortSegmentPortIdentifier

Function SetPathPortSegmentPortIdentifier

source/src/cip/cipepath.c:168–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void SetPathPortSegmentPortIdentifier(const unsigned int port_identifier,
169 unsigned char *const cip_path) {
170/* OPENER_ASSERT(
171 port_identifier < 16,
172 "Port identifier too large for standard port identifier field\n"); */
173 OPENER_ASSERT(port_identifier < 16)
174 (*cip_path) |= port_identifier;
175}
176
177unsigned int GetPathPortSegmentLinkAddressSize(
178 const unsigned char *const cip_path) {

Callers 2

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68