Home | History | Annotate | Download | only in nfc
      1 ###############################################################################
      2 # Firmware patch file
      3 #  If the value is not set then patch download is disabled.
      4 FW_PATCH="/vendor/firmware/bcm20795_firmware.ncd"
      5 
      6 ###############################################################################
      7 # Firmware pre-patch file (sent before the above patch file)
      8 #  If the value is not set then pre-patch is not used.
      9 FW_PRE_PATCH=""
     10 
     11 ###############################################################################
     12 # LPTD mode configuration
     13 #  byte[0] is the length of the remaining bytes in this value
     14 #     if set to 0, LPTD params will NOT be sent to NFCC (i.e. disabled).
     15 #  byte[1] is the param id it should be set to B9.
     16 #  byte[2] is the length of the LPTD parameters
     17 #  byte[3] indicates if LPTD is enabled
     18 #     if set to 0, LPTD will be disabled (parameters will still be sent).
     19 #  byte[4-n] are the LPTD parameters - during LPTD tuning the following parameters are changed
     20 #       byte[13 - 16] = vector threshold
     21 #       byte[17 - 20] = upper power threshold
     22 #       byte[21 - 24] = lower power threshold
     23 #       byte[25] = threshold mode (0=vector, 4=power, 8= vector AND power, c = vector OR power)
     24 #       byte[83] = tuning mode (1 = enable LPTD diagnostics for tuning, 4= Enable statistics command, 5 = both)
     25 #  By default, LPTD is enabled and default settings are used.
     26 #                  00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23x24x25 26 27 28x29x30 31 32x33x34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79x80x81 82 83 84 85 86 87 88 89 90 91 92 93
     27 #LPTD_CFG={66:B9:64:01:00:FF:FF:40:00:8B:13:00:10:00:04:00:00:00:00:03:00:00:00:03:00:0C:00:04:00:00:00:00:03:00:00:00:03:00:0C:00:00:0D:00:00:00:00:00:00:00:00:00:00:33:23:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:03:00:02:53:3B:0F:00:00:00:00:00:00:00:00:00:00:00:00:04:00:00:00:0E:00:00:00}
     28 LPTD_CFG={66:B9:64:01:00:FF:FF:50:00:8B:13:00:10:33:07:00:00:00:00:0A:00:00:00:0A:00:0C:00:04:00:00:00:00:03:00:00:00:03:00:0C:00:00:0D:00:00:00:00:00:00:00:00:00:00:33:23:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:03:00:02:53:3B:0F:00:00:00:00:00:00:00:00:00:00:00:00:04:00:00:00:0E:00:00:00}
     29 
     30 
     31 ###############################################################################
     32 # Startup Configuration (256 bytes maximum)
     33 #
     34 # This is applied at stack startup.
     35 NFA_DM_START_UP_CFG={71:80:01:01:B0:05:01:03:03:03:08:B5:03:01:03:FF:C9:0D:24:00:00:00:01:00:BB:00:E4:00:0A:01:02:D6:0D:00:02:00:00:00:00:00:01:00:01:5A:00:8A:B2:02:B8:0B:C8:1E:06:1F:00:0A:02:30:00:04:24:00:1C:00:75:00:77:00:76:00:1C:00:03:00:0A:00:56:01:00:00:40:04:D7:01:07:DD:14:00:00:00:38:16:40:40:00:00:80:00:40:24:27:0A:67:20:00:52:20:CA:05:00:00:00:00:18}
     36 
     37 
     38 ###############################################################################
     39 # Snooze Mode Settings
     40 #
     41 #  By default snooze mode is enabled.  Set SNOOZE_MODE_CFG byte[0] to 0
     42 #  to disable.
     43 #
     44 #  If SNOOZE_MODE_CFG is not provided, the default settings are used:
     45 #  They are as follows:
     46 #       8             Sleep Mode (0=Disabled 1=UART 8=SPI/I2C)
     47 #       0             Idle Threshold Host
     48 #       0             Idle Threshold HC
     49 #       0             NFC Wake active mode (0=ActiveLow 1=ActiveHigh)
     50 #       1             Host Wake active mode (0=ActiveLow 1=ActiveHigh)
     51 #
     52 SNOOZE_MODE_CFG={08:00:00:00:01}
     53 
     54