mirror of https://github.com/ARMmbed/mbed-os.git
Added nfc_tag_type() and fixed some const qualifiers
parent
8d03c557e2
commit
04304e0ec0
|
@ -36,11 +36,11 @@ namespace nfc {
|
|||
protected:
|
||||
void set_ndef_support(bool supported);
|
||||
|
||||
bool are_remote_ndef_reads_enabled();
|
||||
bool are_remote_ndef_writes_enabled();
|
||||
bool are_remote_ndef_reads_enabled() const;
|
||||
bool are_remote_ndef_writes_enabled() const;
|
||||
|
||||
ndef::MessageParser* ndef_message_parser() const;
|
||||
ndef::MessageBuilder* ndef_message_builder() const;
|
||||
ndef::MessageParser* ndef_message_parser();
|
||||
ndef::MessageBuilder* ndef_message_builder();
|
||||
|
||||
private:
|
||||
ndef::MessageParser* _message_parser;
|
||||
|
|
|
@ -40,7 +40,17 @@ namespace nfc {
|
|||
|
||||
void set_delegate(Delegate* delegate);
|
||||
|
||||
bool is_iso7816_supported();
|
||||
enum nfc_tag_type_t {
|
||||
nfc_tag_type_1,
|
||||
nfc_tag_type_2,
|
||||
nfc_tag_type_3,
|
||||
nfc_tag_type_4a,
|
||||
nfc_tag_type_4b,
|
||||
nfc_tag_type_5
|
||||
};
|
||||
|
||||
nfc_tag_type_t nfc_tag_type() const;
|
||||
bool is_iso7816_supported() const;
|
||||
void add_iso7816_application(ISO7816App* application);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue