home *** CD-ROM | disk | FTP | other *** search
/ TAP YIPL / TAP_and_YIPL_Collection_CD.iso / PHREAK / CELLULAR / LODFOVC.C < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-11  |  530 b   |  19 lines

  1. /* This is for converting the hex codes displayed by the Motorola 
  2. Cellular Phone when in test mode and monitoring the FOVC to the correct 
  3. channel number that the call is being transferred to. See 
  4. http://www.l0pht.com/radiophone/motorola/fovchack.html for more info. 
  5.          --Doctor Who                                                */
  6.  
  7.  
  8. #include <stdio.h>
  9. main()
  10. {
  11. int st;
  12. while(1)
  13.  {
  14.   printf("\n XXXXNNNXXX\n Enter digits hex digits NNN: ");
  15.   scanf("%x",&st);
  16.   printf("Channel: %d\n",st & 1023);
  17.  }
  18. }
  19.