Modified Notes XPacSDK for XPAC-WINCE6

April 2, 2012


INTRODUCTION

This is a library modified note of the XPAC-WINCE6 for the C/C++ development.

[09-12-2012]
[Version 2.0.1.3]

·  Fixed a bug about using the pac_ReadAIAllHex to read AI value

·  Fixed a bug about using the pac_UnregisterSlotInterrupt

[07-25-2012]
[Version 2.0.1.2]

·  Fixed a bug to avoid memory error in uart_Close

[04-02-2012]
[Version 2.0.1.1]

·  Added a set of functions with name ending in Ext such as uart_WriteExt, uart_ReadExt, uart_SendExt, uart_RecvExt and uart_SendCmdExt. These functions are similar to uart_Write, art_Read, uart_Send, uart_Recv and uart_SendCmd, but add buffer length parameter for specifying the length of data to avoid buffer overflow problems.

·  Fixed a bug in uart_Send, uart_Recv, uart_SendCmd, uart_SetTimeOut, uart_BinRecv, uart_BinSend, uart_BinSendCmd and pac_GetBPTimerTimeTick_ms.

·  Added support for detecting I-7000 modules in the pac_ModuleExists function.

·  Added reserved memory segment to let the OS be able to save system information.

 [09-05-2011]
[Version 2.0.1.0]

·  Fix some bug for pac_ReadDIO()

[08-09-2011]
[Version 2.0.0.9]

·  Fix some bug for CheckCPUType() and pac_GetSerialNumber()

·  Fix pac_SetWatchDogTime() overflow bug

[06-09-2011]
[Version 2.0.0.8]

·  Add backplane timer

·  Modfy _pac_us_delay to support ATOM delay time

·  add I-8000 module (8014RW, 8041AW, 8024DW, 8057PW, 8057RW, 8037, 8017HCW, 9017DW, 8014, 8024, 8026, 8034, 8074, 8210, 8211, 8114, 8081, 8082, 8114H, 8043, 8054, J1939, OEM, 8017UH-OEM, 8044W-OEM, 8112iW, GPIB, 8054A)

·  Fix pac_GetModuleName to read 8017 serial module name error

·  Determine whether there is inserted the module in the slot, when use di/dio/do function

[03-18-2011]
[Version 2.0.0.7]

·  Fix a bug that "pac_GetModuleName" cannot detect some module.

·  Add detect module (I-8211W, I-8212W, I-8213W, I-8135W, I-8046W and 8093W)

[02-11-2011]
[Version 2.0.0.6]

·  Fix a bug that "callback_func_list[slot] = NULL" called on pac_UnregisterSlotInterrupt causes the memory leakage

·  Fix pac_GetModuleType bug

[11-25-2010]
[Version 2.0.0.5]

·  Add  _pac_get_CPUtype function

·  Modified pac_EnableLED function - supported for LX800 and ATOM

·  Modified pac_GetRotaryID function - supported for LX800 and ATOM

·  Modified pac_EnableWatchDog function  - Supported for LX800 and ATOM

·  Update pac_GetBatteryLevel function - Add mode 3 to get RTC battery level (Only for ATOM)

 [11-01-2010]
[Version 2.0.0.4]

·  Add _pac_inpw/_pac_outpw functions

[10-19-2010]
[Version 2.0.0.3]

·  Add uart_GetDataSize/uart_GetLineStatus/uart_SetLineStatus/uart_GetOutputLineStatus  functions

·  Modified uart_Read/uart_BinSendCmd/uart_BinSend/uart_ReadEx

·  Modified pub_show_rs() on rotaryswitch

·  Add pac_EnableLED for XPAC-ATOM

[10-05-2010]
[Version 2.0.0.2]

  • Modified pac_SetSlotInterruptPriority

[04-16-2010]
[Version 1.0.2.0]

  • Modify pac_GetModuleName to support I-8120 module.

[04-13-2010]
[Version 1.0.1.9]

  • Fixed uart_Read's problem, receving data has an extra byte.

[04-07-2010]
[Version 1.0.1.8]

  • Modify uart_EnableCheckSumcheck
  • Modify uart_Read
  • Add an error define, PAC_ERR_SPECIAL_IO

[10-07-2009]
[Version 1.0.1.6]

  • pac_GetModuleName supported 8088 and 8084 modules.

[09-23-2009]
[Version 1.0.1.5]

  • Fixed the function, pac_GetSlotCount.

[07-30-2009]
[Version 1.0.1.4]

  • Modified define of WDT and EEPROM/SRAM of XPacSDK_CE to synchronize with XPacSDK

[07-24-2009]
[Version 1.0.1.3]

  • Modified parameter of pac_WideToAnsiString(LPCTSTR wstr, LPSTR astr);
  • Modified parameter of pac_AnsiToWideString(LPCSTR astr, LPTSTR wstr);

[07-23-2009]
[Version 1.0.1.2]

  • Fixed return error of pac_WriteDOBit during using 8K modules

[07-21-2009]
[Version 1.0.1.1]

  • Renamed pac_WindStringToAnsi to pac_WideToAnsiString

[07-15-2009]

  • Added get OS version API, pac_GetOSVersion
  • Modified pac_Reboot

[07-09-2009]

  • Fixed bugs of interrupt by adding delay after pac_RegisterSlotInterrupt finished
  • Added _pac_us_delay

[07-02-2009]

  • Fixed bugs of pac_GetErrorMessage
  • Added pac_Reboot

[06-30-2009]

  • Fixed a bug of pac_GetBatteryLevel
  • Fixed a bug of pac_EnableWatchDog(0xd80a) cannot reboot

[06-23-2009]

  • Fixed pac_GetModuleName

[06-22-2009]

  • Fixed uart_SendCmd/uart_Send
  • Added pac_GetMacAddress
  • Added pac_GetModuleType
  • Added pac_GetModuleName
  • Added pac_GetBatteryLevel
  • Added pac_GetErrorMessage
  • Fixed hash_map

[06-16-2009]

  • Enlarge ReadAIAll/ReadAIAllHex buffer
  • Fixed bug of 8063 4DI
  • Fixed buf 8060W 6 channel

[06-08-2009]

  • Fixed pac_InterruptDone
  • Fixed Callback function, true ==> auto call pac_InterruptDone

[06-06-2009]

  • Fixed bug of self tuner
  • Added Windows XP-like Sample Skin
  • Added Network user interface
  • Added Silent FAT File System UI
  • Added Storage Manager Control Panel Applet

[05-20-2009]

  • Memory Access......ok
  • WatchDog......ok
  • System Information......ok
  • Backpland......ok

[11-21-2008]

  • Basic Inport/Outport......ok
  • Uart......ok
  • Local IO......ok