CTL_STATUS_t sensecore_set_tx_signal(SENSECORE_DRIVER_t *self,
                                     int site,
                                     int state);

sensecore_set_tx_signal sets the Tx signal for the SenseCore self on site site to state. If state is zero, the Tx signal is pulled low and if state is non-zero the Tx signal is pulled high.

Return Value

sensecore_set_tx_signal returns a standard status code.

Thread Safety

sensecore_set_tx_signal is thread-safe if the transport member in self is thread-safe. This requires that a mutex is associated with the I2C bus provided when initializing self.