Skip to content

Commit

Permalink
Change to TLV Parsing to Long, ULong (#25646)
Browse files Browse the repository at this point in the history
  • Loading branch information
joonhaengHeo authored and pull[bot] committed Feb 7, 2024
1 parent fd33781 commit 2585142
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -531,12 +531,12 @@ class WildcardFragment : Fragment() {
private val TLV_MAP = mapOf(
"UnsignedInt" to object:TlvWriterInterface {
override fun generate(writer : TlvWriter, value: String, tag: chip.tlv.Tag) {
writer.put(tag, value.toUInt())
writer.put(tag, value.toULong())
}
},
"Int" to object:TlvWriterInterface {
override fun generate(writer : TlvWriter, value: String, tag: chip.tlv.Tag) {
writer.put(tag, value.toInt())
writer.put(tag, value.toLong())
}
},
"Boolean" to object:TlvWriterInterface {
Expand Down

0 comments on commit 2585142

Please sign in to comment.