rhodes 3.0.0 → 3.0.1.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/Rakefile +9 -2
- data/doc/application.txt +1 -1
- data/doc/build.txt +49 -70
- data/doc/device-caps.txt +22 -97
- data/doc/extensions.txt +1 -1
- data/doc/nfc.txt +542 -0
- data/doc/rhom.txt +7 -5
- data/doc/simulator.txt +116 -0
- data/doc/ui.txt +1 -1
- data/lib/build/jake.rb +5 -5
- data/lib/extensions/debugger/debugger.rb +63 -35
- data/lib/extensions/nfc/ext/nfc/platform/android/AndroidManifest.xml +8 -6
- data/lib/extensions/nfc/ext/nfc/platform/android/jni/src/nfc.cpp +1070 -249
- data/lib/extensions/nfc/ext/nfc/platform/android/res/xml/filter_nfc.xml +1 -5
- data/lib/extensions/nfc/ext/nfc/platform/android/src/com/rhomobile/nfc/Nfc.java +894 -72
- data/lib/extensions/nfc/ext/nfc/platform/android/src/com/rhomobile/nfc/NfcActivity.java +82 -18
- data/lib/extensions/nfc/ext/nfc/platform/android/src/com/rhomobile/nfc/NfcMessage.java +65 -0
- data/lib/extensions/nfc/ext/nfc/platform/android/src/com/rhomobile/nfc/NfcRecord.java +88 -24
- data/lib/extensions/nfc/ext/nfc/platform/android/src/com/rhomobile/nfc/NfcTechActivity.java +3 -0
- data/lib/extensions/nfc/ext/nfc/shared/ruby/nfc.i +204 -3
- data/lib/extensions/nfc/ext/nfc/shared/ruby/nfc_wrap.c +1047 -5
- data/lib/extensions/nfc/nfc.rb +635 -91
- data/lib/extensions/rhoxml/rexml/encodings/CP-1252.rb +103 -0
- data/lib/extensions/rhoxml/rexml/encodings/ISO-8859-1.rb +7 -0
- data/lib/framework/dateME.rb +26 -0
- data/lib/framework/rho/render.rb +21 -9
- data/lib/framework/rho/rho.rb +12 -0
- data/lib/framework/rho/rhoevent_bb.rb +3 -0
- data/lib/framework/rho/rhoevent_c.rb +3 -0
- data/lib/framework/rhodes.rb +1 -1
- data/lib/framework/rhom/rhom_db_adapter.rb +9 -9
- data/lib/framework/rhosystem.rb +17 -0
- data/lib/framework/stringio.rb +18 -0
- data/lib/framework/version.rb +1 -1
- data/lib/rhodes.rb +1 -1
- data/platform/android/Rhodes/AndroidManifest.xml +2 -2
- data/platform/android/Rhodes/res/xml/filter_nfc.xml +1 -5
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/BaseActivity.java +0 -2
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/PushReceiver.java +10 -6
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoCryptImpl.java +29 -18
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java +67 -12
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivityListener.java +14 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesApplication.java +102 -28
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +35 -66
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/WebView.java +5 -5
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/alert/Alert.java +69 -41
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/alert/PopupActivity.java +7 -5
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/util/PerformOnUiThread.java +68 -35
- data/platform/android/build/RhodesSRC_build.files +1 -0
- data/platform/android/build/android.rake +2 -2
- data/platform/bb/RubyVM/src/com/rho/RhoConf.java +1 -0
- data/platform/bb/RubyVM/src/com/rho/db/DBAdapter.java +18 -6
- data/platform/bb/build/bb.rake +1 -1
- data/platform/bb/rhodes/src/rhomobile/RhodesApplication.java +5 -4
- data/platform/iphone/Classes/SimpleMainView.m +1 -1
- data/platform/iphone/Info.plist +1 -1
- data/platform/shared/common/RhodesApp.cpp +9 -3
- data/platform/shared/curl/lib/rhossl.c +5 -2
- data/platform/shared/db/DBAdapter.cpp +9 -0
- data/platform/shared/net/CURLNetRequest.cpp +8 -3
- data/platform/shared/net/iphone/sslimpl.cpp +3 -2
- data/platform/shared/net/ssl.cpp +8 -0
- data/platform/shared/ruby/ext/rho/rhoruby.c +10 -0
- data/platform/shared/ruby/ext/rho/rhoruby.h +1 -0
- data/platform/shared/ruby/ext/sqlite3_api/sqlite3_api_wrap.c +3 -4
- data/platform/win32/RhoSimulator/QtCore4.dll +0 -0
- data/platform/win32/RhoSimulator/QtGui4.dll +0 -0
- data/platform/win32/RhoSimulator/QtNetwork4.dll +0 -0
- data/platform/win32/RhoSimulator/QtWebKit4.dll +0 -0
- data/platform/win32/RhoSimulator/RhoSimulator.exe +0 -0
- data/platform/win32/RhoSimulator/imageformats/qgif4.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qico4.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qjpeg4.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qmng4.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qsvg4.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qtiff4.dll +0 -0
- data/platform/win32/RhoSimulator/libeay32.dll +0 -0
- data/platform/win32/RhoSimulator/ssleay32.dll +0 -0
- data/platform/wm/build/wm.rake +27 -3
- data/platform/wm/rhodes/Rhodes.cpp +4 -0
- data/platform/wm/rhodes/emulator/MainWindowCallback.h +1 -0
- data/platform/wm/rhodes/emulator/MainWindowProxy.cpp +3 -1
- data/platform/wm/rhodes/emulator/MainWindowQt.cpp +23 -12
- data/platform/wm/rhodes/emulator/MainWindowQt.h +5 -1
- data/platform/wm/rhodes/emulator/QtMainWindow.cpp +39 -6
- data/platform/wm/rhodes/emulator/QtMainWindow.h +1 -1
- data/platform/wm/rhodes/rho/rubyext/SystemImpl.cpp +5 -0
- data/platform/wp7/IronRuby/{Bin → bin}/Silverlight3Release/IronRuby.Libraries.dll +0 -0
- data/platform/wp7/IronRuby/{Bin → bin}/Silverlight3Release/IronRuby.dll +0 -0
- data/platform/wp7/IronRuby/bin/Silverlight3Release/Microsoft.Dynamic.dll +0 -0
- data/platform/wp7/IronRuby/{Bin → bin}/Silverlight3Release/Microsoft.Scripting.Core.dll +0 -0
- data/platform/wp7/IronRuby/{Bin → bin}/Silverlight3Release/Microsoft.Scripting.dll +0 -0
- data/platform/wp7/RhoAppRunner/Program.cs +2 -2
- data/platform/wp7/RhoRubyLib/RhoRuby.cs +8 -0
- data/platform/wp7/RhoRubyLib/common/RhodesApp.cs +29 -7
- data/platform/wp7/RhoRubyLib/db/DBAdapter.cs +5 -2
- data/platform/wp7/RhoRubyLib/logging/RhoLogger.cs +12 -0
- data/platform/wp7/RhoRubyLib/net/HttpServer.cs +2 -0
- data/platform/wp7/RhoRubyLib/net/NetRequest.cs +1 -1
- data/platform/wp7/RhoRubyLib/rubyext/RhoAsyncHttp.cs +52 -7
- data/platform/wp7/RhoRubyLib/rubyext/RhoDatabase.cs +85 -18
- data/platform/wp7/RhoRubyLib/rubyext/RhoJSON.cs +38 -3
- data/platform/wp7/RhoRubyLib/rubyext/RhoKernelOps.cs +27 -2
- data/platform/wp7/RhoRubyLib/rubyext/RhoNativeBar.cs +111 -15
- data/platform/wp7/RhoRubyLib/rubyext/RhoSyncEngine.cs +330 -55
- data/platform/wp7/RhoRubyLib/rubyext/RhoWebView.cs +61 -4
- data/platform/wp7/build/wp.rake +89 -72
- data/platform/wp7/rhodes/App.xaml.cs +1 -1
- data/rakefile.rb +9 -2
- data/rhodes.gemspec +1 -3
- data/spec/phone_spec/app/spec/asynchttp_spec.rb +7 -9
- data/spec/phone_spec/app/spec/uri_spec.rb +75 -0
- data/spec/phone_spec/app/spec_runner.rb +4 -0
- metadata +21 -15
- data/Manifest.txt +0 -6403
- data/platform/win32/RhoSimulator/codecs/qcncodecs4.dll +0 -0
- data/platform/win32/RhoSimulator/codecs/qjpcodecs4.dll +0 -0
- data/platform/win32/RhoSimulator/codecs/qkrcodecs4.dll +0 -0
- data/platform/win32/RhoSimulator/codecs/qtwcodecs4.dll +0 -0
- data/platform/wp7/IronRuby/Bin/Silverlight3Release/Microsoft.Dynamic.dll +0 -0
@@ -1586,15 +1586,160 @@ extern void rho_nfc_tech_MifareClassic_write_block(int index, VALUE block);
|
|
1586
1586
|
extern VALUE rho_nfc_tech_MifareClassic_read_block(int index);
|
1587
1587
|
#define tech_MifareClassic_read_block rho_nfc_tech_MifareClassic_read_block
|
1588
1588
|
|
1589
|
-
extern int
|
1590
|
-
#define
|
1589
|
+
extern int rho_nfc_tech_MifareClassic_get_block_count();
|
1590
|
+
#define tech_MifareClassic_get_block_count rho_nfc_tech_MifareClassic_get_block_count
|
1591
1591
|
|
1592
|
+
extern int rho_nfc_tech_MifareClassic_get_sector_count();
|
1593
|
+
#define tech_MifareClassic_get_sector_count rho_nfc_tech_MifareClassic_get_sector_count
|
1594
|
+
|
1595
|
+
extern int rho_nfc_tech_MifareClassic_get_blocks_in_sector_count(int index);
|
1596
|
+
#define tech_MifareClassic_get_blocks_in_sector_count rho_nfc_tech_MifareClassic_get_blocks_in_sector_count
|
1597
|
+
|
1598
|
+
extern int rho_nfc_tech_MifareClassic_sector_to_block(int index);
|
1599
|
+
#define tech_MifareClassic_sector_to_block rho_nfc_tech_MifareClassic_sector_to_block
|
1600
|
+
|
1601
|
+
extern int rho_nfc_tech_MifareClassic_authenticate_sector_with_key_A(int index, VALUE key);
|
1602
|
+
#define tech_MifareClassic_authenticate_sector_with_key_A rho_nfc_tech_MifareClassic_authenticate_sector_with_key_A
|
1603
|
+
|
1604
|
+
extern int rho_nfc_tech_MifareClassic_authenticate_sector_with_key_B(int index, VALUE key);
|
1605
|
+
#define tech_MifareClassic_authenticate_sector_with_key_B rho_nfc_tech_MifareClassic_authenticate_sector_with_key_B
|
1606
|
+
|
1607
|
+
extern int rho_nfc_tech_MifareClassic_get_type();
|
1608
|
+
#define tech_MifareClassic_get_type rho_nfc_tech_MifareClassic_get_type
|
1609
|
+
|
1610
|
+
extern VALUE rho_nfc_tech_MifareClassic_transceive(VALUE data);
|
1611
|
+
#define tech_MifareClassic_transceive rho_nfc_tech_MifareClassic_transceive
|
1612
|
+
|
1613
|
+
extern VALUE rho_nfc_tag_get_id();
|
1614
|
+
#define tag_get_id rho_nfc_tag_get_id
|
1615
|
+
|
1592
1616
|
extern void rho_nfc_tech_MifareUltralight_write_page(int index, VALUE block);
|
1593
1617
|
#define tech_MifareUltralight_write_page rho_nfc_tech_MifareUltralight_write_page
|
1594
1618
|
|
1595
1619
|
extern VALUE rho_nfc_tech_MifareUltralight_read_pages(int index);
|
1596
1620
|
#define tech_MifareUltralight_read_pages rho_nfc_tech_MifareUltralight_read_pages
|
1597
1621
|
|
1622
|
+
extern int rho_nfc_tech_MifareUltralight_get_type();
|
1623
|
+
#define tech_MifareUltralight_get_type rho_nfc_tech_MifareUltralight_get_type
|
1624
|
+
|
1625
|
+
extern VALUE rho_nfc_tech_MifareUltralight_transceive(VALUE data);
|
1626
|
+
#define tech_MifareUltralight_transceive rho_nfc_tech_MifareUltralight_transceive
|
1627
|
+
|
1628
|
+
extern int rho_nfc_tech_Ndef_get_max_size();
|
1629
|
+
#define tech_Ndef_get_max_size rho_nfc_tech_Ndef_get_max_size
|
1630
|
+
|
1631
|
+
extern VALUE rho_nfc_tech_Ndef_get_type();
|
1632
|
+
#define tech_Ndef_get_type rho_nfc_tech_Ndef_get_type
|
1633
|
+
|
1634
|
+
extern int rho_nfc_tech_Ndef_is_writable();
|
1635
|
+
#define tech_Ndef_is_writable rho_nfc_tech_Ndef_is_writable
|
1636
|
+
|
1637
|
+
extern int rho_nfc_tech_Ndef_can_make_read_only();
|
1638
|
+
#define tech_Ndef_can_make_read_only rho_nfc_tech_Ndef_can_make_read_only
|
1639
|
+
|
1640
|
+
extern int rho_nfc_tech_Ndef_make_read_only();
|
1641
|
+
#define tech_Ndef_make_read_only rho_nfc_tech_Ndef_make_read_only
|
1642
|
+
|
1643
|
+
extern void rho_nfc_tech_Ndef_write_Nde_message(VALUE message_in_byte_array);
|
1644
|
+
#define tech_Ndef_write_Nde_message rho_nfc_tech_Ndef_write_Nde_message
|
1645
|
+
|
1646
|
+
extern VALUE rho_nfc_tech_Ndef_read_Nde_message();
|
1647
|
+
#define tech_Ndef_read_Nde_message rho_nfc_tech_Ndef_read_Nde_message
|
1648
|
+
|
1649
|
+
extern VALUE rho_nfc_tech_NfcA_get_Atqa();
|
1650
|
+
#define tech_NfcA_get_Atqa rho_nfc_tech_NfcA_get_Atqa
|
1651
|
+
|
1652
|
+
extern int rho_nfc_tech_NfcA_get_Sak();
|
1653
|
+
#define tech_NfcA_get_Sak rho_nfc_tech_NfcA_get_Sak
|
1654
|
+
|
1655
|
+
extern VALUE rho_nfc_tech_NfcA_transceive(VALUE data);
|
1656
|
+
#define tech_NfcA_transceive rho_nfc_tech_NfcA_transceive
|
1657
|
+
|
1658
|
+
extern VALUE rho_nfc_convert_byte_array_to_NdeRecord_hash(VALUE array);
|
1659
|
+
#define convert_byte_array_to_NdeRecord_hash rho_nfc_convert_byte_array_to_NdeRecord_hash
|
1660
|
+
|
1661
|
+
extern VALUE rho_nfc_convert_NdeRecord_hash_to_byte_array(VALUE array);
|
1662
|
+
#define convert_NdeRecord_hash_to_byte_array rho_nfc_convert_NdeRecord_hash_to_byte_array
|
1663
|
+
|
1664
|
+
extern VALUE rho_nfc_convert_NdeMessage_byte_array_to_NdeRecords_array(VALUE array);
|
1665
|
+
#define convert_NdeMessage_byte_array_to_NdeRecords_array rho_nfc_convert_NdeMessage_byte_array_to_NdeRecords_array
|
1666
|
+
|
1667
|
+
extern VALUE rho_nfc_convert_NdeRecords_array_to_NdeMessage_byte_array(VALUE array);
|
1668
|
+
#define convert_NdeRecords_array_to_NdeMessage_byte_array rho_nfc_convert_NdeRecords_array_to_NdeMessage_byte_array
|
1669
|
+
|
1670
|
+
extern VALUE rho_nfc_make_string_from_payload(VALUE payload, int tnf, VALUE type);
|
1671
|
+
#define make_string_from_payload rho_nfc_make_string_from_payload
|
1672
|
+
|
1673
|
+
extern VALUE rho_nfc_make_payload_with_absolute_uri(const char* str);
|
1674
|
+
#define make_payload_with_absolute_uri rho_nfc_make_payload_with_absolute_uri
|
1675
|
+
|
1676
|
+
extern VALUE rho_nfc_make_payload_with_well_known_text(const char* language, const char* str);
|
1677
|
+
#define make_payload_with_well_known_text rho_nfc_make_payload_with_well_known_text
|
1678
|
+
|
1679
|
+
extern VALUE rho_nfc_make_payload_with_well_known_uri(int prefix, const char* str);
|
1680
|
+
#define make_payload_with_well_known_uri rho_nfc_make_payload_with_well_known_uri
|
1681
|
+
|
1682
|
+
extern void rho_nfc_p2p_enable_foreground_nde_push(VALUE nde_message_byte_array);
|
1683
|
+
#define p2p_enable_foreground_nde_push rho_nfc_p2p_enable_foreground_nde_push
|
1684
|
+
|
1685
|
+
extern void rho_nfc_p2p_disable_foreground_nde_push();
|
1686
|
+
#define p2p_disable_foreground_nde_push rho_nfc_p2p_disable_foreground_nde_push
|
1687
|
+
|
1688
|
+
extern VALUE rho_nfc_tech_IsoDep_get_hi_layer_responce();
|
1689
|
+
#define tech_IsoDep_get_hi_layer_responce rho_nfc_tech_IsoDep_get_hi_layer_responce
|
1690
|
+
|
1691
|
+
extern VALUE rho_nfc_tech_IsoDep_get_historical_bytes();
|
1692
|
+
#define tech_IsoDep_get_historical_bytes rho_nfc_tech_IsoDep_get_historical_bytes
|
1693
|
+
|
1694
|
+
extern void rho_nfc_tech_IsoDep_set_timeout(int timeout);
|
1695
|
+
#define tech_IsoDep_set_timeout rho_nfc_tech_IsoDep_set_timeout
|
1696
|
+
|
1697
|
+
extern VALUE rho_nfc_tech_IsoDep_transceive(VALUE data);
|
1698
|
+
#define tech_IsoDep_transceive rho_nfc_tech_IsoDep_transceive
|
1699
|
+
|
1700
|
+
extern void rho_nfc_tech_NdefFormatable_format(VALUE ndef_message_byte_array);
|
1701
|
+
#define tech_NdefFormatable_format rho_nfc_tech_NdefFormatable_format
|
1702
|
+
|
1703
|
+
extern void rho_nfc_tech_NdefFormatable_format_read_only(VALUE ndef_message_byte_array);
|
1704
|
+
#define tech_NdefFormatable_format_read_only rho_nfc_tech_NdefFormatable_format_read_only
|
1705
|
+
|
1706
|
+
// return byte[]
|
1707
|
+
extern VALUE rho_nfc_tech_NfcB_get_application_data();
|
1708
|
+
#define tech_NfcB_get_application_data rho_nfc_tech_NfcB_get_application_data
|
1709
|
+
|
1710
|
+
// return byte[]
|
1711
|
+
extern VALUE rho_nfc_tech_NfcB_get_protocol_info();
|
1712
|
+
#define tech_NfcB_get_protocol_info rho_nfc_tech_NfcB_get_protocol_info
|
1713
|
+
|
1714
|
+
// byte[] -> byte[]
|
1715
|
+
extern VALUE rho_nfc_tech_NfcB_transceive(VALUE data);
|
1716
|
+
#define tech_NfcB_transceive rho_nfc_tech_NfcB_transceive
|
1717
|
+
|
1718
|
+
// return byte[]
|
1719
|
+
extern VALUE rho_nfc_tech_NfcF_get_manufacturer();
|
1720
|
+
#define tech_NfcF_get_manufacturer rho_nfc_tech_NfcF_get_manufacturer
|
1721
|
+
|
1722
|
+
// return byte[]
|
1723
|
+
extern VALUE rho_nfc_tech_NfcF_get_system_code();
|
1724
|
+
#define tech_NfcF_get_system_code rho_nfc_tech_NfcF_get_system_code
|
1725
|
+
|
1726
|
+
// byte[] -> byte[]
|
1727
|
+
extern VALUE rho_nfc_tech_NfcF_transceive(VALUE data);
|
1728
|
+
#define tech_NfcF_transceive rho_nfc_tech_NfcF_transceive
|
1729
|
+
|
1730
|
+
extern int rho_nfc_tech_NfcV_get_dsf_id();
|
1731
|
+
#define tech_NfcV_get_dsf_id rho_nfc_tech_NfcV_get_dsf_id
|
1732
|
+
|
1733
|
+
extern int rho_nfc_tech_NfcV_get_responce_flags();
|
1734
|
+
#define tech_NfcV_get_responce_flags rho_nfc_tech_NfcV_get_responce_flags
|
1735
|
+
|
1736
|
+
// byte[] -> byte[]
|
1737
|
+
extern VALUE rho_nfc_tech_NfcV_transceive(VALUE data);
|
1738
|
+
#define tech_NfcV_transceive rho_nfc_tech_NfcV_transceive
|
1739
|
+
|
1740
|
+
extern void rho_nfc_perform_open_application_event();
|
1741
|
+
#define perform_open_application_event rho_nfc_perform_open_application_event
|
1742
|
+
|
1598
1743
|
|
1599
1744
|
|
1600
1745
|
SWIGINTERN swig_type_info*
|
@@ -1995,14 +2140,146 @@ fail:
|
|
1995
2140
|
|
1996
2141
|
|
1997
2142
|
SWIGINTERN VALUE
|
1998
|
-
|
2143
|
+
_wrap_tech_MifareClassic_get_block_count(int argc, VALUE *argv, VALUE self) {
|
2144
|
+
int result;
|
2145
|
+
VALUE vresult = Qnil;
|
2146
|
+
|
2147
|
+
if ((argc < 0) || (argc > 0)) {
|
2148
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2149
|
+
}
|
2150
|
+
result = (int)tech_MifareClassic_get_block_count();
|
2151
|
+
vresult = SWIG_From_int((int)(result));
|
2152
|
+
return vresult;
|
2153
|
+
fail:
|
2154
|
+
return Qnil;
|
2155
|
+
}
|
2156
|
+
|
2157
|
+
|
2158
|
+
SWIGINTERN VALUE
|
2159
|
+
_wrap_tech_MifareClassic_get_sector_count(int argc, VALUE *argv, VALUE self) {
|
2160
|
+
int result;
|
2161
|
+
VALUE vresult = Qnil;
|
2162
|
+
|
2163
|
+
if ((argc < 0) || (argc > 0)) {
|
2164
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2165
|
+
}
|
2166
|
+
result = (int)tech_MifareClassic_get_sector_count();
|
2167
|
+
vresult = SWIG_From_int((int)(result));
|
2168
|
+
return vresult;
|
2169
|
+
fail:
|
2170
|
+
return Qnil;
|
2171
|
+
}
|
2172
|
+
|
2173
|
+
|
2174
|
+
SWIGINTERN VALUE
|
2175
|
+
_wrap_tech_MifareClassic_get_blocks_in_sector_count(int argc, VALUE *argv, VALUE self) {
|
2176
|
+
int arg1 ;
|
2177
|
+
int result;
|
2178
|
+
int val1 ;
|
2179
|
+
int ecode1 = 0 ;
|
2180
|
+
VALUE vresult = Qnil;
|
2181
|
+
|
2182
|
+
if ((argc < 1) || (argc > 1)) {
|
2183
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2184
|
+
}
|
2185
|
+
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
2186
|
+
if (!SWIG_IsOK(ecode1)) {
|
2187
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "tech_MifareClassic_get_blocks_in_sector_count" "', argument " "1"" of type '" "int""'");
|
2188
|
+
}
|
2189
|
+
arg1 = (int)(val1);
|
2190
|
+
result = (int)tech_MifareClassic_get_blocks_in_sector_count(arg1);
|
2191
|
+
vresult = SWIG_From_int((int)(result));
|
2192
|
+
return vresult;
|
2193
|
+
fail:
|
2194
|
+
return Qnil;
|
2195
|
+
}
|
2196
|
+
|
2197
|
+
|
2198
|
+
SWIGINTERN VALUE
|
2199
|
+
_wrap_tech_MifareClassic_sector_to_block(int argc, VALUE *argv, VALUE self) {
|
2200
|
+
int arg1 ;
|
2201
|
+
int result;
|
2202
|
+
int val1 ;
|
2203
|
+
int ecode1 = 0 ;
|
2204
|
+
VALUE vresult = Qnil;
|
2205
|
+
|
2206
|
+
if ((argc < 1) || (argc > 1)) {
|
2207
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2208
|
+
}
|
2209
|
+
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
2210
|
+
if (!SWIG_IsOK(ecode1)) {
|
2211
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "tech_MifareClassic_sector_to_block" "', argument " "1"" of type '" "int""'");
|
2212
|
+
}
|
2213
|
+
arg1 = (int)(val1);
|
2214
|
+
result = (int)tech_MifareClassic_sector_to_block(arg1);
|
2215
|
+
vresult = SWIG_From_int((int)(result));
|
2216
|
+
return vresult;
|
2217
|
+
fail:
|
2218
|
+
return Qnil;
|
2219
|
+
}
|
2220
|
+
|
2221
|
+
|
2222
|
+
SWIGINTERN VALUE
|
2223
|
+
_wrap_tech_MifareClassic_authenticate_sector_with_key_A(int argc, VALUE *argv, VALUE self) {
|
2224
|
+
int arg1 ;
|
2225
|
+
VALUE arg2 = (VALUE) 0 ;
|
2226
|
+
int result;
|
2227
|
+
int val1 ;
|
2228
|
+
int ecode1 = 0 ;
|
2229
|
+
VALUE vresult = Qnil;
|
2230
|
+
|
2231
|
+
if ((argc < 2) || (argc > 2)) {
|
2232
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
2233
|
+
}
|
2234
|
+
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
2235
|
+
if (!SWIG_IsOK(ecode1)) {
|
2236
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "tech_MifareClassic_authenticate_sector_with_key_A" "', argument " "1"" of type '" "int""'");
|
2237
|
+
}
|
2238
|
+
arg1 = (int)(val1);
|
2239
|
+
arg2 = argv[1];
|
2240
|
+
result = (int)tech_MifareClassic_authenticate_sector_with_key_A(arg1,arg2);
|
2241
|
+
vresult = SWIG_From_int((int)(result));
|
2242
|
+
return vresult;
|
2243
|
+
fail:
|
2244
|
+
return Qnil;
|
2245
|
+
}
|
2246
|
+
|
2247
|
+
|
2248
|
+
SWIGINTERN VALUE
|
2249
|
+
_wrap_tech_MifareClassic_authenticate_sector_with_key_B(int argc, VALUE *argv, VALUE self) {
|
2250
|
+
int arg1 ;
|
2251
|
+
VALUE arg2 = (VALUE) 0 ;
|
2252
|
+
int result;
|
2253
|
+
int val1 ;
|
2254
|
+
int ecode1 = 0 ;
|
2255
|
+
VALUE vresult = Qnil;
|
2256
|
+
|
2257
|
+
if ((argc < 2) || (argc > 2)) {
|
2258
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
2259
|
+
}
|
2260
|
+
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
2261
|
+
if (!SWIG_IsOK(ecode1)) {
|
2262
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "tech_MifareClassic_authenticate_sector_with_key_B" "', argument " "1"" of type '" "int""'");
|
2263
|
+
}
|
2264
|
+
arg1 = (int)(val1);
|
2265
|
+
arg2 = argv[1];
|
2266
|
+
result = (int)tech_MifareClassic_authenticate_sector_with_key_B(arg1,arg2);
|
2267
|
+
vresult = SWIG_From_int((int)(result));
|
2268
|
+
return vresult;
|
2269
|
+
fail:
|
2270
|
+
return Qnil;
|
2271
|
+
}
|
2272
|
+
|
2273
|
+
|
2274
|
+
SWIGINTERN VALUE
|
2275
|
+
_wrap_tech_MifareClassic_get_type(int argc, VALUE *argv, VALUE self) {
|
1999
2276
|
int result;
|
2000
2277
|
VALUE vresult = Qnil;
|
2001
2278
|
|
2002
2279
|
if ((argc < 0) || (argc > 0)) {
|
2003
2280
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2004
2281
|
}
|
2005
|
-
result = (int)
|
2282
|
+
result = (int)tech_MifareClassic_get_type();
|
2006
2283
|
vresult = SWIG_From_int((int)(result));
|
2007
2284
|
return vresult;
|
2008
2285
|
fail:
|
@@ -2010,6 +2287,40 @@ fail:
|
|
2010
2287
|
}
|
2011
2288
|
|
2012
2289
|
|
2290
|
+
SWIGINTERN VALUE
|
2291
|
+
_wrap_tag_get_id(int argc, VALUE *argv, VALUE self) {
|
2292
|
+
VALUE result;
|
2293
|
+
VALUE vresult = Qnil;
|
2294
|
+
|
2295
|
+
if ((argc < 0) || (argc > 0)) {
|
2296
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2297
|
+
}
|
2298
|
+
result = (VALUE)tag_get_id();
|
2299
|
+
vresult = result;
|
2300
|
+
return vresult;
|
2301
|
+
fail:
|
2302
|
+
return Qnil;
|
2303
|
+
}
|
2304
|
+
|
2305
|
+
|
2306
|
+
SWIGINTERN VALUE
|
2307
|
+
_wrap_tech_MifareClassic_transceive(int argc, VALUE *argv, VALUE self) {
|
2308
|
+
VALUE arg1 = (VALUE) 0 ;
|
2309
|
+
VALUE result;
|
2310
|
+
VALUE vresult = Qnil;
|
2311
|
+
|
2312
|
+
if ((argc < 1) || (argc > 1)) {
|
2313
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2314
|
+
}
|
2315
|
+
arg1 = argv[0];
|
2316
|
+
result = (VALUE)tech_MifareClassic_transceive(arg1);
|
2317
|
+
vresult = result;
|
2318
|
+
return vresult;
|
2319
|
+
fail:
|
2320
|
+
return Qnil;
|
2321
|
+
}
|
2322
|
+
|
2323
|
+
|
2013
2324
|
SWIGINTERN VALUE
|
2014
2325
|
_wrap_tech_MifareUltralight_write_page(int argc, VALUE *argv, VALUE self) {
|
2015
2326
|
int arg1 ;
|
@@ -2057,6 +2368,691 @@ fail:
|
|
2057
2368
|
}
|
2058
2369
|
|
2059
2370
|
|
2371
|
+
SWIGINTERN VALUE
|
2372
|
+
_wrap_tech_MifareUltralight_get_type(int argc, VALUE *argv, VALUE self) {
|
2373
|
+
int result;
|
2374
|
+
VALUE vresult = Qnil;
|
2375
|
+
|
2376
|
+
if ((argc < 0) || (argc > 0)) {
|
2377
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2378
|
+
}
|
2379
|
+
result = (int)tech_MifareUltralight_get_type();
|
2380
|
+
vresult = SWIG_From_int((int)(result));
|
2381
|
+
return vresult;
|
2382
|
+
fail:
|
2383
|
+
return Qnil;
|
2384
|
+
}
|
2385
|
+
|
2386
|
+
|
2387
|
+
SWIGINTERN VALUE
|
2388
|
+
_wrap_tech_MifareUltralight_transceive(int argc, VALUE *argv, VALUE self) {
|
2389
|
+
VALUE arg1 = (VALUE) 0 ;
|
2390
|
+
VALUE result;
|
2391
|
+
VALUE vresult = Qnil;
|
2392
|
+
|
2393
|
+
if ((argc < 1) || (argc > 1)) {
|
2394
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2395
|
+
}
|
2396
|
+
arg1 = argv[0];
|
2397
|
+
result = (VALUE)tech_MifareUltralight_transceive(arg1);
|
2398
|
+
vresult = result;
|
2399
|
+
return vresult;
|
2400
|
+
fail:
|
2401
|
+
return Qnil;
|
2402
|
+
}
|
2403
|
+
|
2404
|
+
|
2405
|
+
SWIGINTERN VALUE
|
2406
|
+
_wrap_tech_Ndef_get_max_size(int argc, VALUE *argv, VALUE self) {
|
2407
|
+
int result;
|
2408
|
+
VALUE vresult = Qnil;
|
2409
|
+
|
2410
|
+
if ((argc < 0) || (argc > 0)) {
|
2411
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2412
|
+
}
|
2413
|
+
result = (int)tech_Ndef_get_max_size();
|
2414
|
+
vresult = SWIG_From_int((int)(result));
|
2415
|
+
return vresult;
|
2416
|
+
fail:
|
2417
|
+
return Qnil;
|
2418
|
+
}
|
2419
|
+
|
2420
|
+
|
2421
|
+
SWIGINTERN VALUE
|
2422
|
+
_wrap_tech_Ndef_get_type(int argc, VALUE *argv, VALUE self) {
|
2423
|
+
VALUE result;
|
2424
|
+
VALUE vresult = Qnil;
|
2425
|
+
|
2426
|
+
if ((argc < 0) || (argc > 0)) {
|
2427
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2428
|
+
}
|
2429
|
+
result = (VALUE)tech_Ndef_get_type();
|
2430
|
+
vresult = result;
|
2431
|
+
return vresult;
|
2432
|
+
fail:
|
2433
|
+
return Qnil;
|
2434
|
+
}
|
2435
|
+
|
2436
|
+
|
2437
|
+
SWIGINTERN VALUE
|
2438
|
+
_wrap_tech_Ndef_is_writable(int argc, VALUE *argv, VALUE self) {
|
2439
|
+
int result;
|
2440
|
+
VALUE vresult = Qnil;
|
2441
|
+
|
2442
|
+
if ((argc < 0) || (argc > 0)) {
|
2443
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2444
|
+
}
|
2445
|
+
result = (int)tech_Ndef_is_writable();
|
2446
|
+
vresult = SWIG_From_int((int)(result));
|
2447
|
+
return vresult;
|
2448
|
+
fail:
|
2449
|
+
return Qnil;
|
2450
|
+
}
|
2451
|
+
|
2452
|
+
|
2453
|
+
SWIGINTERN VALUE
|
2454
|
+
_wrap_tech_Ndef_can_make_read_only(int argc, VALUE *argv, VALUE self) {
|
2455
|
+
int result;
|
2456
|
+
VALUE vresult = Qnil;
|
2457
|
+
|
2458
|
+
if ((argc < 0) || (argc > 0)) {
|
2459
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2460
|
+
}
|
2461
|
+
result = (int)tech_Ndef_can_make_read_only();
|
2462
|
+
vresult = SWIG_From_int((int)(result));
|
2463
|
+
return vresult;
|
2464
|
+
fail:
|
2465
|
+
return Qnil;
|
2466
|
+
}
|
2467
|
+
|
2468
|
+
|
2469
|
+
SWIGINTERN VALUE
|
2470
|
+
_wrap_tech_Ndef_make_read_only(int argc, VALUE *argv, VALUE self) {
|
2471
|
+
int result;
|
2472
|
+
VALUE vresult = Qnil;
|
2473
|
+
|
2474
|
+
if ((argc < 0) || (argc > 0)) {
|
2475
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2476
|
+
}
|
2477
|
+
result = (int)tech_Ndef_make_read_only();
|
2478
|
+
vresult = SWIG_From_int((int)(result));
|
2479
|
+
return vresult;
|
2480
|
+
fail:
|
2481
|
+
return Qnil;
|
2482
|
+
}
|
2483
|
+
|
2484
|
+
|
2485
|
+
SWIGINTERN VALUE
|
2486
|
+
_wrap_tech_Ndef_write_Nde_message(int argc, VALUE *argv, VALUE self) {
|
2487
|
+
VALUE arg1 = (VALUE) 0 ;
|
2488
|
+
|
2489
|
+
if ((argc < 1) || (argc > 1)) {
|
2490
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2491
|
+
}
|
2492
|
+
arg1 = argv[0];
|
2493
|
+
tech_Ndef_write_Nde_message(arg1);
|
2494
|
+
return Qnil;
|
2495
|
+
fail:
|
2496
|
+
return Qnil;
|
2497
|
+
}
|
2498
|
+
|
2499
|
+
|
2500
|
+
SWIGINTERN VALUE
|
2501
|
+
_wrap_tech_Ndef_read_Nde_message(int argc, VALUE *argv, VALUE self) {
|
2502
|
+
VALUE result;
|
2503
|
+
VALUE vresult = Qnil;
|
2504
|
+
|
2505
|
+
if ((argc < 0) || (argc > 0)) {
|
2506
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2507
|
+
}
|
2508
|
+
result = (VALUE)tech_Ndef_read_Nde_message();
|
2509
|
+
vresult = result;
|
2510
|
+
return vresult;
|
2511
|
+
fail:
|
2512
|
+
return Qnil;
|
2513
|
+
}
|
2514
|
+
|
2515
|
+
|
2516
|
+
SWIGINTERN VALUE
|
2517
|
+
_wrap_tech_NfcA_get_Atqa(int argc, VALUE *argv, VALUE self) {
|
2518
|
+
VALUE result;
|
2519
|
+
VALUE vresult = Qnil;
|
2520
|
+
|
2521
|
+
if ((argc < 0) || (argc > 0)) {
|
2522
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2523
|
+
}
|
2524
|
+
result = (VALUE)tech_NfcA_get_Atqa();
|
2525
|
+
vresult = result;
|
2526
|
+
return vresult;
|
2527
|
+
fail:
|
2528
|
+
return Qnil;
|
2529
|
+
}
|
2530
|
+
|
2531
|
+
|
2532
|
+
SWIGINTERN VALUE
|
2533
|
+
_wrap_tech_NfcA_get_Sak(int argc, VALUE *argv, VALUE self) {
|
2534
|
+
int result;
|
2535
|
+
VALUE vresult = Qnil;
|
2536
|
+
|
2537
|
+
if ((argc < 0) || (argc > 0)) {
|
2538
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2539
|
+
}
|
2540
|
+
result = (int)tech_NfcA_get_Sak();
|
2541
|
+
vresult = SWIG_From_int((int)(result));
|
2542
|
+
return vresult;
|
2543
|
+
fail:
|
2544
|
+
return Qnil;
|
2545
|
+
}
|
2546
|
+
|
2547
|
+
|
2548
|
+
SWIGINTERN VALUE
|
2549
|
+
_wrap_tech_NfcA_transceive(int argc, VALUE *argv, VALUE self) {
|
2550
|
+
VALUE arg1 = (VALUE) 0 ;
|
2551
|
+
VALUE result;
|
2552
|
+
VALUE vresult = Qnil;
|
2553
|
+
|
2554
|
+
if ((argc < 1) || (argc > 1)) {
|
2555
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2556
|
+
}
|
2557
|
+
arg1 = argv[0];
|
2558
|
+
result = (VALUE)tech_NfcA_transceive(arg1);
|
2559
|
+
vresult = result;
|
2560
|
+
return vresult;
|
2561
|
+
fail:
|
2562
|
+
return Qnil;
|
2563
|
+
}
|
2564
|
+
|
2565
|
+
|
2566
|
+
SWIGINTERN VALUE
|
2567
|
+
_wrap_convert_byte_array_to_NdeRecord_hash(int argc, VALUE *argv, VALUE self) {
|
2568
|
+
VALUE arg1 = (VALUE) 0 ;
|
2569
|
+
VALUE result;
|
2570
|
+
VALUE vresult = Qnil;
|
2571
|
+
|
2572
|
+
if ((argc < 1) || (argc > 1)) {
|
2573
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2574
|
+
}
|
2575
|
+
arg1 = argv[0];
|
2576
|
+
result = (VALUE)convert_byte_array_to_NdeRecord_hash(arg1);
|
2577
|
+
vresult = result;
|
2578
|
+
return vresult;
|
2579
|
+
fail:
|
2580
|
+
return Qnil;
|
2581
|
+
}
|
2582
|
+
|
2583
|
+
|
2584
|
+
SWIGINTERN VALUE
|
2585
|
+
_wrap_convert_NdeRecord_hash_to_byte_array(int argc, VALUE *argv, VALUE self) {
|
2586
|
+
VALUE arg1 = (VALUE) 0 ;
|
2587
|
+
VALUE result;
|
2588
|
+
VALUE vresult = Qnil;
|
2589
|
+
|
2590
|
+
if ((argc < 1) || (argc > 1)) {
|
2591
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2592
|
+
}
|
2593
|
+
arg1 = argv[0];
|
2594
|
+
result = (VALUE)convert_NdeRecord_hash_to_byte_array(arg1);
|
2595
|
+
vresult = result;
|
2596
|
+
return vresult;
|
2597
|
+
fail:
|
2598
|
+
return Qnil;
|
2599
|
+
}
|
2600
|
+
|
2601
|
+
|
2602
|
+
SWIGINTERN VALUE
|
2603
|
+
_wrap_convert_NdeMessage_byte_array_to_NdeRecords_array(int argc, VALUE *argv, VALUE self) {
|
2604
|
+
VALUE arg1 = (VALUE) 0 ;
|
2605
|
+
VALUE result;
|
2606
|
+
VALUE vresult = Qnil;
|
2607
|
+
|
2608
|
+
if ((argc < 1) || (argc > 1)) {
|
2609
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2610
|
+
}
|
2611
|
+
arg1 = argv[0];
|
2612
|
+
result = (VALUE)convert_NdeMessage_byte_array_to_NdeRecords_array(arg1);
|
2613
|
+
vresult = result;
|
2614
|
+
return vresult;
|
2615
|
+
fail:
|
2616
|
+
return Qnil;
|
2617
|
+
}
|
2618
|
+
|
2619
|
+
|
2620
|
+
SWIGINTERN VALUE
|
2621
|
+
_wrap_convert_NdeRecords_array_to_NdeMessage_byte_array(int argc, VALUE *argv, VALUE self) {
|
2622
|
+
VALUE arg1 = (VALUE) 0 ;
|
2623
|
+
VALUE result;
|
2624
|
+
VALUE vresult = Qnil;
|
2625
|
+
|
2626
|
+
if ((argc < 1) || (argc > 1)) {
|
2627
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2628
|
+
}
|
2629
|
+
arg1 = argv[0];
|
2630
|
+
result = (VALUE)convert_NdeRecords_array_to_NdeMessage_byte_array(arg1);
|
2631
|
+
vresult = result;
|
2632
|
+
return vresult;
|
2633
|
+
fail:
|
2634
|
+
return Qnil;
|
2635
|
+
}
|
2636
|
+
|
2637
|
+
|
2638
|
+
SWIGINTERN VALUE
|
2639
|
+
_wrap_make_string_from_payload(int argc, VALUE *argv, VALUE self) {
|
2640
|
+
VALUE arg1 = (VALUE) 0 ;
|
2641
|
+
int arg2 ;
|
2642
|
+
VALUE arg3 = (VALUE) 0 ;
|
2643
|
+
VALUE result;
|
2644
|
+
int val2 ;
|
2645
|
+
int ecode2 = 0 ;
|
2646
|
+
VALUE vresult = Qnil;
|
2647
|
+
|
2648
|
+
if ((argc < 3) || (argc > 3)) {
|
2649
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
|
2650
|
+
}
|
2651
|
+
arg1 = argv[0];
|
2652
|
+
ecode2 = SWIG_AsVal_int(argv[1], &val2);
|
2653
|
+
if (!SWIG_IsOK(ecode2)) {
|
2654
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "make_string_from_payload" "', argument " "2"" of type '" "int""'");
|
2655
|
+
}
|
2656
|
+
arg2 = (int)(val2);
|
2657
|
+
arg3 = argv[2];
|
2658
|
+
result = (VALUE)make_string_from_payload(arg1,arg2,arg3);
|
2659
|
+
vresult = result;
|
2660
|
+
return vresult;
|
2661
|
+
fail:
|
2662
|
+
return Qnil;
|
2663
|
+
}
|
2664
|
+
|
2665
|
+
|
2666
|
+
SWIGINTERN VALUE
|
2667
|
+
_wrap_make_payload_with_absolute_uri(int argc, VALUE *argv, VALUE self) {
|
2668
|
+
char *arg1 = (char *) 0 ;
|
2669
|
+
VALUE result;
|
2670
|
+
int res1 ;
|
2671
|
+
char *buf1 = 0 ;
|
2672
|
+
int alloc1 = 0 ;
|
2673
|
+
VALUE vresult = Qnil;
|
2674
|
+
|
2675
|
+
if ((argc < 1) || (argc > 1)) {
|
2676
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2677
|
+
}
|
2678
|
+
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
|
2679
|
+
if (!SWIG_IsOK(res1)) {
|
2680
|
+
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "make_payload_with_absolute_uri" "', argument " "1"" of type '" "char const *""'");
|
2681
|
+
}
|
2682
|
+
arg1 = (char *)(buf1);
|
2683
|
+
result = (VALUE)make_payload_with_absolute_uri((char const *)arg1);
|
2684
|
+
vresult = result;
|
2685
|
+
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
|
2686
|
+
return vresult;
|
2687
|
+
fail:
|
2688
|
+
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
|
2689
|
+
return Qnil;
|
2690
|
+
}
|
2691
|
+
|
2692
|
+
|
2693
|
+
SWIGINTERN VALUE
|
2694
|
+
_wrap_make_payload_with_well_known_text(int argc, VALUE *argv, VALUE self) {
|
2695
|
+
char *arg1 = (char *) 0 ;
|
2696
|
+
char *arg2 = (char *) 0 ;
|
2697
|
+
VALUE result;
|
2698
|
+
int res1 ;
|
2699
|
+
char *buf1 = 0 ;
|
2700
|
+
int alloc1 = 0 ;
|
2701
|
+
int res2 ;
|
2702
|
+
char *buf2 = 0 ;
|
2703
|
+
int alloc2 = 0 ;
|
2704
|
+
VALUE vresult = Qnil;
|
2705
|
+
|
2706
|
+
if ((argc < 2) || (argc > 2)) {
|
2707
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
2708
|
+
}
|
2709
|
+
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
|
2710
|
+
if (!SWIG_IsOK(res1)) {
|
2711
|
+
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "make_payload_with_well_known_text" "', argument " "1"" of type '" "char const *""'");
|
2712
|
+
}
|
2713
|
+
arg1 = (char *)(buf1);
|
2714
|
+
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
|
2715
|
+
if (!SWIG_IsOK(res2)) {
|
2716
|
+
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "make_payload_with_well_known_text" "', argument " "2"" of type '" "char const *""'");
|
2717
|
+
}
|
2718
|
+
arg2 = (char *)(buf2);
|
2719
|
+
result = (VALUE)make_payload_with_well_known_text((char const *)arg1,(char const *)arg2);
|
2720
|
+
vresult = result;
|
2721
|
+
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
|
2722
|
+
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
2723
|
+
return vresult;
|
2724
|
+
fail:
|
2725
|
+
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
|
2726
|
+
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
2727
|
+
return Qnil;
|
2728
|
+
}
|
2729
|
+
|
2730
|
+
|
2731
|
+
SWIGINTERN VALUE
|
2732
|
+
_wrap_make_payload_with_well_known_uri(int argc, VALUE *argv, VALUE self) {
|
2733
|
+
int arg1 ;
|
2734
|
+
char *arg2 = (char *) 0 ;
|
2735
|
+
VALUE result;
|
2736
|
+
int val1 ;
|
2737
|
+
int ecode1 = 0 ;
|
2738
|
+
int res2 ;
|
2739
|
+
char *buf2 = 0 ;
|
2740
|
+
int alloc2 = 0 ;
|
2741
|
+
VALUE vresult = Qnil;
|
2742
|
+
|
2743
|
+
if ((argc < 2) || (argc > 2)) {
|
2744
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
2745
|
+
}
|
2746
|
+
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
2747
|
+
if (!SWIG_IsOK(ecode1)) {
|
2748
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "make_payload_with_well_known_uri" "', argument " "1"" of type '" "int""'");
|
2749
|
+
}
|
2750
|
+
arg1 = (int)(val1);
|
2751
|
+
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
|
2752
|
+
if (!SWIG_IsOK(res2)) {
|
2753
|
+
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "make_payload_with_well_known_uri" "', argument " "2"" of type '" "char const *""'");
|
2754
|
+
}
|
2755
|
+
arg2 = (char *)(buf2);
|
2756
|
+
result = (VALUE)make_payload_with_well_known_uri(arg1,(char const *)arg2);
|
2757
|
+
vresult = result;
|
2758
|
+
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
2759
|
+
return vresult;
|
2760
|
+
fail:
|
2761
|
+
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
2762
|
+
return Qnil;
|
2763
|
+
}
|
2764
|
+
|
2765
|
+
|
2766
|
+
SWIGINTERN VALUE
|
2767
|
+
_wrap_p2p_enable_foreground_nde_push(int argc, VALUE *argv, VALUE self) {
|
2768
|
+
VALUE arg1 = (VALUE) 0 ;
|
2769
|
+
|
2770
|
+
if ((argc < 1) || (argc > 1)) {
|
2771
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2772
|
+
}
|
2773
|
+
arg1 = argv[0];
|
2774
|
+
p2p_enable_foreground_nde_push(arg1);
|
2775
|
+
return Qnil;
|
2776
|
+
fail:
|
2777
|
+
return Qnil;
|
2778
|
+
}
|
2779
|
+
|
2780
|
+
|
2781
|
+
SWIGINTERN VALUE
|
2782
|
+
_wrap_p2p_disable_foreground_nde_push(int argc, VALUE *argv, VALUE self) {
|
2783
|
+
if ((argc < 0) || (argc > 0)) {
|
2784
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2785
|
+
}
|
2786
|
+
p2p_disable_foreground_nde_push();
|
2787
|
+
return Qnil;
|
2788
|
+
fail:
|
2789
|
+
return Qnil;
|
2790
|
+
}
|
2791
|
+
|
2792
|
+
|
2793
|
+
SWIGINTERN VALUE
|
2794
|
+
_wrap_tech_IsoDep_get_hi_layer_responce(int argc, VALUE *argv, VALUE self) {
|
2795
|
+
VALUE result;
|
2796
|
+
VALUE vresult = Qnil;
|
2797
|
+
|
2798
|
+
if ((argc < 0) || (argc > 0)) {
|
2799
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2800
|
+
}
|
2801
|
+
result = (VALUE)tech_IsoDep_get_hi_layer_responce();
|
2802
|
+
vresult = result;
|
2803
|
+
return vresult;
|
2804
|
+
fail:
|
2805
|
+
return Qnil;
|
2806
|
+
}
|
2807
|
+
|
2808
|
+
|
2809
|
+
SWIGINTERN VALUE
|
2810
|
+
_wrap_tech_IsoDep_get_historical_bytes(int argc, VALUE *argv, VALUE self) {
|
2811
|
+
VALUE result;
|
2812
|
+
VALUE vresult = Qnil;
|
2813
|
+
|
2814
|
+
if ((argc < 0) || (argc > 0)) {
|
2815
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2816
|
+
}
|
2817
|
+
result = (VALUE)tech_IsoDep_get_historical_bytes();
|
2818
|
+
vresult = result;
|
2819
|
+
return vresult;
|
2820
|
+
fail:
|
2821
|
+
return Qnil;
|
2822
|
+
}
|
2823
|
+
|
2824
|
+
|
2825
|
+
SWIGINTERN VALUE
|
2826
|
+
_wrap_tech_IsoDep_set_timeout(int argc, VALUE *argv, VALUE self) {
|
2827
|
+
int arg1 ;
|
2828
|
+
int val1 ;
|
2829
|
+
int ecode1 = 0 ;
|
2830
|
+
|
2831
|
+
if ((argc < 1) || (argc > 1)) {
|
2832
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2833
|
+
}
|
2834
|
+
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
2835
|
+
if (!SWIG_IsOK(ecode1)) {
|
2836
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "tech_IsoDep_set_timeout" "', argument " "1"" of type '" "int""'");
|
2837
|
+
}
|
2838
|
+
arg1 = (int)(val1);
|
2839
|
+
tech_IsoDep_set_timeout(arg1);
|
2840
|
+
return Qnil;
|
2841
|
+
fail:
|
2842
|
+
return Qnil;
|
2843
|
+
}
|
2844
|
+
|
2845
|
+
|
2846
|
+
SWIGINTERN VALUE
|
2847
|
+
_wrap_tech_IsoDep_transceive(int argc, VALUE *argv, VALUE self) {
|
2848
|
+
VALUE arg1 = (VALUE) 0 ;
|
2849
|
+
VALUE result;
|
2850
|
+
VALUE vresult = Qnil;
|
2851
|
+
|
2852
|
+
if ((argc < 1) || (argc > 1)) {
|
2853
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2854
|
+
}
|
2855
|
+
arg1 = argv[0];
|
2856
|
+
result = (VALUE)tech_IsoDep_transceive(arg1);
|
2857
|
+
vresult = result;
|
2858
|
+
return vresult;
|
2859
|
+
fail:
|
2860
|
+
return Qnil;
|
2861
|
+
}
|
2862
|
+
|
2863
|
+
|
2864
|
+
SWIGINTERN VALUE
|
2865
|
+
_wrap_tech_NdefFormatable_format(int argc, VALUE *argv, VALUE self) {
|
2866
|
+
VALUE arg1 = (VALUE) 0 ;
|
2867
|
+
|
2868
|
+
if ((argc < 1) || (argc > 1)) {
|
2869
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2870
|
+
}
|
2871
|
+
arg1 = argv[0];
|
2872
|
+
tech_NdefFormatable_format(arg1);
|
2873
|
+
return Qnil;
|
2874
|
+
fail:
|
2875
|
+
return Qnil;
|
2876
|
+
}
|
2877
|
+
|
2878
|
+
|
2879
|
+
SWIGINTERN VALUE
|
2880
|
+
_wrap_tech_NdefFormatable_format_read_only(int argc, VALUE *argv, VALUE self) {
|
2881
|
+
VALUE arg1 = (VALUE) 0 ;
|
2882
|
+
|
2883
|
+
if ((argc < 1) || (argc > 1)) {
|
2884
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2885
|
+
}
|
2886
|
+
arg1 = argv[0];
|
2887
|
+
tech_NdefFormatable_format_read_only(arg1);
|
2888
|
+
return Qnil;
|
2889
|
+
fail:
|
2890
|
+
return Qnil;
|
2891
|
+
}
|
2892
|
+
|
2893
|
+
|
2894
|
+
SWIGINTERN VALUE
|
2895
|
+
_wrap_tech_NfcB_get_application_data(int argc, VALUE *argv, VALUE self) {
|
2896
|
+
VALUE result;
|
2897
|
+
VALUE vresult = Qnil;
|
2898
|
+
|
2899
|
+
if ((argc < 0) || (argc > 0)) {
|
2900
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2901
|
+
}
|
2902
|
+
result = (VALUE)tech_NfcB_get_application_data();
|
2903
|
+
vresult = result;
|
2904
|
+
return vresult;
|
2905
|
+
fail:
|
2906
|
+
return Qnil;
|
2907
|
+
}
|
2908
|
+
|
2909
|
+
|
2910
|
+
SWIGINTERN VALUE
|
2911
|
+
_wrap_tech_NfcB_get_protocol_info(int argc, VALUE *argv, VALUE self) {
|
2912
|
+
VALUE result;
|
2913
|
+
VALUE vresult = Qnil;
|
2914
|
+
|
2915
|
+
if ((argc < 0) || (argc > 0)) {
|
2916
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2917
|
+
}
|
2918
|
+
result = (VALUE)tech_NfcB_get_protocol_info();
|
2919
|
+
vresult = result;
|
2920
|
+
return vresult;
|
2921
|
+
fail:
|
2922
|
+
return Qnil;
|
2923
|
+
}
|
2924
|
+
|
2925
|
+
|
2926
|
+
SWIGINTERN VALUE
|
2927
|
+
_wrap_tech_NfcB_transceive(int argc, VALUE *argv, VALUE self) {
|
2928
|
+
VALUE arg1 = (VALUE) 0 ;
|
2929
|
+
VALUE result;
|
2930
|
+
VALUE vresult = Qnil;
|
2931
|
+
|
2932
|
+
if ((argc < 1) || (argc > 1)) {
|
2933
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2934
|
+
}
|
2935
|
+
arg1 = argv[0];
|
2936
|
+
result = (VALUE)tech_NfcB_transceive(arg1);
|
2937
|
+
vresult = result;
|
2938
|
+
return vresult;
|
2939
|
+
fail:
|
2940
|
+
return Qnil;
|
2941
|
+
}
|
2942
|
+
|
2943
|
+
|
2944
|
+
SWIGINTERN VALUE
|
2945
|
+
_wrap_tech_NfcF_get_manufacturer(int argc, VALUE *argv, VALUE self) {
|
2946
|
+
VALUE result;
|
2947
|
+
VALUE vresult = Qnil;
|
2948
|
+
|
2949
|
+
if ((argc < 0) || (argc > 0)) {
|
2950
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2951
|
+
}
|
2952
|
+
result = (VALUE)tech_NfcF_get_manufacturer();
|
2953
|
+
vresult = result;
|
2954
|
+
return vresult;
|
2955
|
+
fail:
|
2956
|
+
return Qnil;
|
2957
|
+
}
|
2958
|
+
|
2959
|
+
|
2960
|
+
SWIGINTERN VALUE
|
2961
|
+
_wrap_tech_NfcF_get_system_code(int argc, VALUE *argv, VALUE self) {
|
2962
|
+
VALUE result;
|
2963
|
+
VALUE vresult = Qnil;
|
2964
|
+
|
2965
|
+
if ((argc < 0) || (argc > 0)) {
|
2966
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2967
|
+
}
|
2968
|
+
result = (VALUE)tech_NfcF_get_system_code();
|
2969
|
+
vresult = result;
|
2970
|
+
return vresult;
|
2971
|
+
fail:
|
2972
|
+
return Qnil;
|
2973
|
+
}
|
2974
|
+
|
2975
|
+
|
2976
|
+
SWIGINTERN VALUE
|
2977
|
+
_wrap_tech_NfcF_transceive(int argc, VALUE *argv, VALUE self) {
|
2978
|
+
VALUE arg1 = (VALUE) 0 ;
|
2979
|
+
VALUE result;
|
2980
|
+
VALUE vresult = Qnil;
|
2981
|
+
|
2982
|
+
if ((argc < 1) || (argc > 1)) {
|
2983
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
2984
|
+
}
|
2985
|
+
arg1 = argv[0];
|
2986
|
+
result = (VALUE)tech_NfcF_transceive(arg1);
|
2987
|
+
vresult = result;
|
2988
|
+
return vresult;
|
2989
|
+
fail:
|
2990
|
+
return Qnil;
|
2991
|
+
}
|
2992
|
+
|
2993
|
+
|
2994
|
+
SWIGINTERN VALUE
|
2995
|
+
_wrap_tech_NfcV_get_dsf_id(int argc, VALUE *argv, VALUE self) {
|
2996
|
+
int result;
|
2997
|
+
VALUE vresult = Qnil;
|
2998
|
+
|
2999
|
+
if ((argc < 0) || (argc > 0)) {
|
3000
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
3001
|
+
}
|
3002
|
+
result = (int)tech_NfcV_get_dsf_id();
|
3003
|
+
vresult = SWIG_From_int((int)(result));
|
3004
|
+
return vresult;
|
3005
|
+
fail:
|
3006
|
+
return Qnil;
|
3007
|
+
}
|
3008
|
+
|
3009
|
+
|
3010
|
+
SWIGINTERN VALUE
|
3011
|
+
_wrap_tech_NfcV_get_responce_flags(int argc, VALUE *argv, VALUE self) {
|
3012
|
+
int result;
|
3013
|
+
VALUE vresult = Qnil;
|
3014
|
+
|
3015
|
+
if ((argc < 0) || (argc > 0)) {
|
3016
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
3017
|
+
}
|
3018
|
+
result = (int)tech_NfcV_get_responce_flags();
|
3019
|
+
vresult = SWIG_From_int((int)(result));
|
3020
|
+
return vresult;
|
3021
|
+
fail:
|
3022
|
+
return Qnil;
|
3023
|
+
}
|
3024
|
+
|
3025
|
+
|
3026
|
+
SWIGINTERN VALUE
|
3027
|
+
_wrap_tech_NfcV_transceive(int argc, VALUE *argv, VALUE self) {
|
3028
|
+
VALUE arg1 = (VALUE) 0 ;
|
3029
|
+
VALUE result;
|
3030
|
+
VALUE vresult = Qnil;
|
3031
|
+
|
3032
|
+
if ((argc < 1) || (argc > 1)) {
|
3033
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
3034
|
+
}
|
3035
|
+
arg1 = argv[0];
|
3036
|
+
result = (VALUE)tech_NfcV_transceive(arg1);
|
3037
|
+
vresult = result;
|
3038
|
+
return vresult;
|
3039
|
+
fail:
|
3040
|
+
return Qnil;
|
3041
|
+
}
|
3042
|
+
|
3043
|
+
|
3044
|
+
SWIGINTERN VALUE
|
3045
|
+
_wrap_perform_open_application_event(int argc, VALUE *argv, VALUE self) {
|
3046
|
+
if ((argc < 0) || (argc > 0)) {
|
3047
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
3048
|
+
}
|
3049
|
+
perform_open_application_event();
|
3050
|
+
return Qnil;
|
3051
|
+
fail:
|
3052
|
+
return Qnil;
|
3053
|
+
}
|
3054
|
+
|
3055
|
+
|
2060
3056
|
|
2061
3057
|
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
|
2062
3058
|
|
@@ -2332,8 +3328,54 @@ SWIGEXPORT void Init_Nfc(void) {
|
|
2332
3328
|
rb_define_module_function(mNfc, "tech_MifareClassic_get_size", _wrap_tech_MifareClassic_get_size, -1);
|
2333
3329
|
rb_define_module_function(mNfc, "tech_MifareClassic_write_block", _wrap_tech_MifareClassic_write_block, -1);
|
2334
3330
|
rb_define_module_function(mNfc, "tech_MifareClassic_read_block", _wrap_tech_MifareClassic_read_block, -1);
|
2335
|
-
rb_define_module_function(mNfc, "
|
3331
|
+
rb_define_module_function(mNfc, "tech_MifareClassic_get_block_count", _wrap_tech_MifareClassic_get_block_count, -1);
|
3332
|
+
rb_define_module_function(mNfc, "tech_MifareClassic_get_sector_count", _wrap_tech_MifareClassic_get_sector_count, -1);
|
3333
|
+
rb_define_module_function(mNfc, "tech_MifareClassic_get_blocks_in_sector_count", _wrap_tech_MifareClassic_get_blocks_in_sector_count, -1);
|
3334
|
+
rb_define_module_function(mNfc, "tech_MifareClassic_sector_to_block", _wrap_tech_MifareClassic_sector_to_block, -1);
|
3335
|
+
rb_define_module_function(mNfc, "tech_MifareClassic_authenticate_sector_with_key_A", _wrap_tech_MifareClassic_authenticate_sector_with_key_A, -1);
|
3336
|
+
rb_define_module_function(mNfc, "tech_MifareClassic_authenticate_sector_with_key_B", _wrap_tech_MifareClassic_authenticate_sector_with_key_B, -1);
|
3337
|
+
rb_define_module_function(mNfc, "tech_MifareClassic_get_type", _wrap_tech_MifareClassic_get_type, -1);
|
3338
|
+
rb_define_module_function(mNfc, "tag_get_id", _wrap_tag_get_id, -1);
|
3339
|
+
rb_define_module_function(mNfc, "tech_MifareClassic_transceive", _wrap_tech_MifareClassic_transceive, -1);
|
2336
3340
|
rb_define_module_function(mNfc, "tech_MifareUltralight_write_page", _wrap_tech_MifareUltralight_write_page, -1);
|
2337
3341
|
rb_define_module_function(mNfc, "tech_MifareUltralight_read_pages", _wrap_tech_MifareUltralight_read_pages, -1);
|
3342
|
+
rb_define_module_function(mNfc, "tech_MifareUltralight_get_type", _wrap_tech_MifareUltralight_get_type, -1);
|
3343
|
+
rb_define_module_function(mNfc, "tech_MifareUltralight_transceive", _wrap_tech_MifareUltralight_transceive, -1);
|
3344
|
+
rb_define_module_function(mNfc, "tech_Ndef_get_max_size", _wrap_tech_Ndef_get_max_size, -1);
|
3345
|
+
rb_define_module_function(mNfc, "tech_Ndef_get_type", _wrap_tech_Ndef_get_type, -1);
|
3346
|
+
rb_define_module_function(mNfc, "tech_Ndef_is_writable", _wrap_tech_Ndef_is_writable, -1);
|
3347
|
+
rb_define_module_function(mNfc, "tech_Ndef_can_make_read_only", _wrap_tech_Ndef_can_make_read_only, -1);
|
3348
|
+
rb_define_module_function(mNfc, "tech_Ndef_make_read_only", _wrap_tech_Ndef_make_read_only, -1);
|
3349
|
+
rb_define_module_function(mNfc, "tech_Ndef_write_Nde_message", _wrap_tech_Ndef_write_Nde_message, -1);
|
3350
|
+
rb_define_module_function(mNfc, "tech_Ndef_read_Nde_message", _wrap_tech_Ndef_read_Nde_message, -1);
|
3351
|
+
rb_define_module_function(mNfc, "tech_NfcA_get_Atqa", _wrap_tech_NfcA_get_Atqa, -1);
|
3352
|
+
rb_define_module_function(mNfc, "tech_NfcA_get_Sak", _wrap_tech_NfcA_get_Sak, -1);
|
3353
|
+
rb_define_module_function(mNfc, "tech_NfcA_transceive", _wrap_tech_NfcA_transceive, -1);
|
3354
|
+
rb_define_module_function(mNfc, "convert_byte_array_to_NdeRecord_hash", _wrap_convert_byte_array_to_NdeRecord_hash, -1);
|
3355
|
+
rb_define_module_function(mNfc, "convert_NdeRecord_hash_to_byte_array", _wrap_convert_NdeRecord_hash_to_byte_array, -1);
|
3356
|
+
rb_define_module_function(mNfc, "convert_NdeMessage_byte_array_to_NdeRecords_array", _wrap_convert_NdeMessage_byte_array_to_NdeRecords_array, -1);
|
3357
|
+
rb_define_module_function(mNfc, "convert_NdeRecords_array_to_NdeMessage_byte_array", _wrap_convert_NdeRecords_array_to_NdeMessage_byte_array, -1);
|
3358
|
+
rb_define_module_function(mNfc, "make_string_from_payload", _wrap_make_string_from_payload, -1);
|
3359
|
+
rb_define_module_function(mNfc, "make_payload_with_absolute_uri", _wrap_make_payload_with_absolute_uri, -1);
|
3360
|
+
rb_define_module_function(mNfc, "make_payload_with_well_known_text", _wrap_make_payload_with_well_known_text, -1);
|
3361
|
+
rb_define_module_function(mNfc, "make_payload_with_well_known_uri", _wrap_make_payload_with_well_known_uri, -1);
|
3362
|
+
rb_define_module_function(mNfc, "p2p_enable_foreground_nde_push", _wrap_p2p_enable_foreground_nde_push, -1);
|
3363
|
+
rb_define_module_function(mNfc, "p2p_disable_foreground_nde_push", _wrap_p2p_disable_foreground_nde_push, -1);
|
3364
|
+
rb_define_module_function(mNfc, "tech_IsoDep_get_hi_layer_responce", _wrap_tech_IsoDep_get_hi_layer_responce, -1);
|
3365
|
+
rb_define_module_function(mNfc, "tech_IsoDep_get_historical_bytes", _wrap_tech_IsoDep_get_historical_bytes, -1);
|
3366
|
+
rb_define_module_function(mNfc, "tech_IsoDep_set_timeout", _wrap_tech_IsoDep_set_timeout, -1);
|
3367
|
+
rb_define_module_function(mNfc, "tech_IsoDep_transceive", _wrap_tech_IsoDep_transceive, -1);
|
3368
|
+
rb_define_module_function(mNfc, "tech_NdefFormatable_format", _wrap_tech_NdefFormatable_format, -1);
|
3369
|
+
rb_define_module_function(mNfc, "tech_NdefFormatable_format_read_only", _wrap_tech_NdefFormatable_format_read_only, -1);
|
3370
|
+
rb_define_module_function(mNfc, "tech_NfcB_get_application_data", _wrap_tech_NfcB_get_application_data, -1);
|
3371
|
+
rb_define_module_function(mNfc, "tech_NfcB_get_protocol_info", _wrap_tech_NfcB_get_protocol_info, -1);
|
3372
|
+
rb_define_module_function(mNfc, "tech_NfcB_transceive", _wrap_tech_NfcB_transceive, -1);
|
3373
|
+
rb_define_module_function(mNfc, "tech_NfcF_get_manufacturer", _wrap_tech_NfcF_get_manufacturer, -1);
|
3374
|
+
rb_define_module_function(mNfc, "tech_NfcF_get_system_code", _wrap_tech_NfcF_get_system_code, -1);
|
3375
|
+
rb_define_module_function(mNfc, "tech_NfcF_transceive", _wrap_tech_NfcF_transceive, -1);
|
3376
|
+
rb_define_module_function(mNfc, "tech_NfcV_get_dsf_id", _wrap_tech_NfcV_get_dsf_id, -1);
|
3377
|
+
rb_define_module_function(mNfc, "tech_NfcV_get_responce_flags", _wrap_tech_NfcV_get_responce_flags, -1);
|
3378
|
+
rb_define_module_function(mNfc, "tech_NfcV_transceive", _wrap_tech_NfcV_transceive, -1);
|
3379
|
+
rb_define_module_function(mNfc, "perform_open_application_event", _wrap_perform_open_application_event, -1);
|
2338
3380
|
}
|
2339
3381
|
|