96 Voice API for Windows Operating Systems Library Reference — November 2003
ATDX_FWVER( ) — return the voice firmware version number
Example: 0000 0010 0001 0101 0000 0000 0000 0000 (Production v2.15)
!
!!
!Cautions
None.
!
!!
!Errors
This function will fail and return AT_FAILURE if an invalid device handle is specified in bddev.
!
!!
!Example
#include <stdio.h>
#include <srllib.h>
#include <dxxxlib.h>
#include <windows.h>
void GetFwlVersion(char *, long);
main()
{
int bddev;
char *bdname, FWVersion[50];
long fwver;
bdname = "dxxxB1";
/*
* Open board device
*/
if ((bddev = dx_open(bdname, NULL)) == -1)
{
/* Handle error */
}
if ((fwver =
ATDX_FWVER(bddev)
) == AT_FAILURE)
{
/* Handle error */
}
/*
* Parse fw version
*/
GetFwlVersion(FWVersion, fwver);
printf("%s\n", FWVersion");
} /* end main */
!
!!
!See Also
None.