Gpio in objective c


#1

Hello, i’m working on a cordova bridge, everything it’s ok, except sending gpio update in objective c, it’s working on Android, but in objective I don’t get any clue.

I getting the configurable, but in this lines nothing happens.

ESTGPIOPortsData *portsData = [ESTGPIOPortsData new];

portsData = [portsData initWithPort0Value:ESTGPIOPortValueHigh port1Value:ESTGPIOPortValueHigh];

[self.device.settings.GPIO.portsData writeValue:portsData completion:^(ESTSettingGPIOPortsData * _Nullable portsDataSetting, NSError * _Nullable error) {
[portsData setPort:ESTGPIOPort0 value:ESTGPIOPortValueHigh];
NSLog(@“port on”);
}];