Mike's Workshop Manuals: Service manuals for every vehicle
Home >> Mercedes Benz >> 2024 >> eSprinter Base, _NA_ >> Repair and Diagnosis >> TMC Recommended Practices >> Onboard Vehicle Electronics >> RP 1210D - Windows (TM) Communication API >> RP 1210D - Windows(TM) Communication API >> RP1210_SENDCOMMAND () >> Notes

RP1210_SENDCOMMAND (): Notes

This function is called by the client application to send a command to the device driver. The command is typically intercepted by the driver and processed according to the command number. The definition of the fpchClientCommand  character buffer is dependent upon the nCommandNumber  parameter.

If these commands are successful, then the function returns a value of 0 (unless otherwise specified for a specific command). Otherwise, an error code, corresponding to a value of greater than 127 is returned. The specific error codes for each function are described in each section.