Creating and sending MSPP commands

Create an MSPP command using the mspBuildCommand macro with an MSPP endpoint command. You can send an MSPP command to the specified endpoint with mspSendCommand.

The mspBuildCommand macro and mspSendCommand are described below. The MSPP endpoint commands are described in MSPP queries and commands for the 3G-324M Interface.

mspBuildCommand macro

The mspBuildCommand macro builds a command by concatenating the endpoint filter ID with an endpoint command. It is defined as follows:

#define mspBuildCommand(filter,command) ((filter << 8) | command)

For more information about the mspBuildCommand macro, see the MSPP Service Developer's Reference Manual.

mspSendCommand function

mspSendCommand sends a concatenated command to an MSPP endpoint. It is defined as follows:

DWORD mspSendCommand(MSPHD msphd, DWORD command, void *buffer, DWORD size)

where:

For more information about mspSendCommand, see the MSPP Service Developer's Reference Manual.