OpenTP1 Version 7 Programming Guide

[Contents][Index][Back][Next]

8.6.2 Notes on using MCF sample

Notes on using the MCF sample are as follows:

  1. When the definition relating to MCF (network communication definition) is used, the definition should be consistent in the MCF sample. Since the contents of system definition are exactly as in the manual, some modification may be required. The definition of TP1/Server Base (system service definition) should be modified according to the network communication definition of the MCF sample. This is the same when using the Base sample.
  2. When the sample UAP (MHP or SPP) in the protocol/ directory is used, a main function (main program) is required at compilation and link-edit. For MHPs, modify and use the main function in the mcf/aplib/ directory. For SPPs, create a main function.
    The MCF application definition (abc_apli) in the mcf/conf/ directory should be modified according to an MHP to be created. The system service definition (such as user service definition) should be created.
  3. Use the following samples as an MHP main function:
    • For MCF main function for MCF communication service:
      File in the /mcf/protocol/cmlib/ directory
    • For MCF main function for application starting service:
      File in the /mcf/psv/cmlib/ directory