connectivitylayer/isce/isaaccessextension_dll/inc/iscnokiadefinitions.h
changeset 5 8ccc39f9d787
parent 0 63b37f68c1ce
child 9 8486d82aef45
equal deleted inserted replaced
4:510c70acdbf6 5:8ccc39f9d787
   137     EIscNokiaCancelAsyncEventSubscribe = 38,
   137     EIscNokiaCancelAsyncEventSubscribe = 38,
   138     EIscNokiaCancelAsyncEventSend,
   138     EIscNokiaCancelAsyncEventSend,
   139     EIscNokiaCancelAsyncEventSubscribe32bit
   139     EIscNokiaCancelAsyncEventSubscribe32bit
   140     };
   140     };
   141 
   141 
       
   142 #ifndef PN_DEV_PC
       
   143 #define PN_DEV_PC 0x10 // Not in pn_const.h at the moment TODO: Remove when possible
       
   144 #endif
       
   145 #ifndef PN_APE_COMMGR
       
   146 #define PN_APE_COMMGR 0x11 //TODO remove when defined in pn_const.h
       
   147 #endif
   142 #ifndef THIS_DEVICE
   148 #ifndef THIS_DEVICE
   143     #if !defined (__WINS__) && !defined(NCP_COMMON_PLATFORM_SIMULATOR)
   149     #if !defined (__WINS__) && !defined(NCP_COMMON_PLATFORM_SIMULATOR)
   144         #if !defined (NCP_COMMON_BRIDGE_FAMILY)
       
   145             #define THIS_DEVICE PN_DEV_SOS
       
   146             #define OTHER_DEVICE_1 PN_DEV_HOST
       
   147         #else
       
   148             // Device IDs
   150             // Device IDs
   149             #define THIS_DEVICE PN_DEV_HOST
   151             #define THIS_DEVICE PN_DEV_HOST
   150             #define OTHER_DEVICE_1 PN_DEV_MODEM
   152             #define OTHER_DEVICE_1 PN_DEV_MODEM
       
   153             #define PN_DEV_OWN                                                  0x6c
   151             #define PN_DEV_DONT_CARE OTHER_DEVICE_1
   154             #define PN_DEV_DONT_CARE OTHER_DEVICE_1
   152             // Media IDs
   155             // Media IDs
   153             #define PN_MEDIA_SOS                                                PN_MEDIA_MODEM_HOST_IF
   156             #define PN_MEDIA_SOS                                                PN_MEDIA_MODEM_HOST_IF
   154             // Internals CLIENT OF ISC API OR ISA KERNEL API - DO NOT USE! ->
   157             // Internals CLIENT OF ISC API OR ISA KERNEL API - DO NOT USE! ->
   155             #define PN_MEDIA_NOT_USED                                           0xfe
   158             #define PN_MEDIA_NOT_USED                                           0xfe
   156             #define PN_NO_ROUTING                                               0xff
   159             #define PN_NO_ROUTING                                               0xff
   157             #define PN_OBJ_ROUTER PN_OBJ_ROUTING_REQ
   160             #define PN_OBJ_ROUTER PN_OBJ_ROUTING_REQ
   158             // To be removed when pipe changes are done.
   161             // To be removed when pipe changes are done.
   159             #define PNS_PIPE_DATA_OFFSET_DATA                                   3
   162             #define PNS_PIPE_DATA_OFFSET_DATA                                   3
   160             // <- Internals CLIENT OF ISC API OR ISA KERNEL API - DO NOT USE!
   163             // <- Internals CLIENT OF ISC API OR ISA KERNEL API - DO NOT USE!
   161         #endif
       
   162     #else
   164     #else
   163         #define THIS_DEVICE PN_DEV_PC
   165         #define THIS_DEVICE PN_DEV_PC
   164     #endif
   166     #endif
   165 #endif
   167 #endif
   166 
   168