Vassilis Bourdakis
Vassilis Bourdakis
no, cannot be Timo! the following is for instance 251, channel 28: ``` PGN126208 Command Group Function Code: 1 Commanded PGN: 127501 PrioritySetting: 8 Number of Pairs: 2 VAR 1...
> Exactly. 2 pairs. First pair field index (var1) = 1 (=instance field), first pair field value 251 (=instance value), second pair field index 29 (channel 28 field), second pair...
BTW, I read in the PDF: > The Command Group Function message is directed to a specific address, the Global Address (255) shall not be used. Indeed my Maretron is...
well, ``` N2kSetStatusBinaryOnStatus(DeviceInstance,ChannelStatus, DeviceChannel); ``` worked, BUT I had to change to: ``` bool ParseN2kPGN126208(const tN2kMsg &N2kMsg ,uint8_t &GroupFunctionCode ,int &PGN ,int &PrioritySetting ,uint8_t &NumberofPairs ,uint8_t &FieldIndex ,tN2kBinaryStatus &DeviceInstance ,uint8_t...
OK, as I said, I'll keep it with my gvd.cpp/.h custom PGN library for my stabilisers and for my boat application only. > - Designed way to do this would...
for the record and in order to have a more inclusive view on this topic, I found this: How do I switch a relay channel on the Maretron DCR100 using...
> I don't know if you can read history from the devices we were using, I think they were called Victron Bluesolar MPPT. It just outputs current values every second...
had problems like that, following Timo's suggestions ended up using: NMEA2000.SendIsoAddressClaim(); NMEA2000.SendProductInformation(); NMEA2000.ParseMessages(); every 20secs (you need the ParseMessages()!) lately and having sorted all varying issues with my code, I...
apologies Timo, my mistake, yes, I run ParseMessages() in a tight loop, just have the other two in 20sec loop, sorry for confusion! V.
hi, the following is code that Timo helped me built in order to communicate info between two devices that I've designed and built: the gvd.h file: ``` #ifndef _GVD_H_ #define...