Skip to content

Commit 2adecda

Browse files
authored
Merge pull request #2311 from tannewt/redo_bleio_errors
Use BluetoothError in _bleio
2 parents e06dc72 + 98e55eb commit 2adecda

30 files changed

+848
-1525
lines changed

locale/ID.po

Lines changed: 56 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-11-17 20:54-0600\n"
11+
"POT-Creation-Date: 2019-11-20 14:01-0800\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -488,11 +488,6 @@ msgstr ""
488488
msgid "Corrupt raw code"
489489
msgstr ""
490490

491-
#: ports/nrf/common-hal/_bleio/UUID.c
492-
#, c-format
493-
msgid "Could not decode ble_uuid, err 0x%04x"
494-
msgstr ""
495-
496491
#: ports/atmel-samd/common-hal/busio/UART.c
497492
msgid "Could not initialize UART"
498493
msgstr "Tidak dapat menginisialisasi UART"
@@ -587,11 +582,6 @@ msgstr ""
587582
msgid "Expected tuple of length %d, got %d"
588583
msgstr ""
589584

590-
#: ports/nrf/common-hal/_bleio/__init__.c
591-
#, c-format
592-
msgid "Failed initiate attribute read, err 0x%04x"
593-
msgstr ""
594-
595585
#: shared-bindings/ps2io/Ps2.c
596586
msgid "Failed sending command."
597587
msgstr ""
@@ -601,15 +591,6 @@ msgstr ""
601591
msgid "Failed to acquire mutex, err 0x%04x"
602592
msgstr "Gagal untuk mendapatkan mutex, status: 0x%08lX"
603593

604-
#: ports/nrf/common-hal/_bleio/Service.c
605-
msgid "Failed to add characteristic, NRF_ERROR_%q"
606-
msgstr ""
607-
608-
#: ports/nrf/common-hal/_bleio/Characteristic.c
609-
#, c-format
610-
msgid "Failed to add descriptor, err 0x%04x"
611-
msgstr ""
612-
613594
#: ports/atmel-samd/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
614595
msgid "Failed to allocate RX buffer"
615596
msgstr "Gagal untuk mengalokasikan buffer RX"
@@ -620,10 +601,6 @@ msgstr "Gagal untuk mengalokasikan buffer RX"
620601
msgid "Failed to allocate RX buffer of %d bytes"
621602
msgstr "Gagal untuk megalokasikan buffer RX dari %d byte"
622603

623-
#: ports/nrf/common-hal/_bleio/Adapter.c
624-
msgid "Failed to change softdevice state, NRF_ERROR_%q"
625-
msgstr ""
626-
627604
#: ports/nrf/common-hal/_bleio/Adapter.c
628605
msgid "Failed to connect: internal error"
629606
msgstr ""
@@ -632,96 +609,11 @@ msgstr ""
632609
msgid "Failed to connect: timeout"
633610
msgstr ""
634611

635-
#: ports/nrf/common-hal/_bleio/Service.c
636-
msgid "Failed to create service, NRF_ERROR_%q"
637-
msgstr ""
638-
639-
#: ports/nrf/common-hal/_bleio/Connection.c
640-
#, fuzzy
641-
msgid "Failed to discover services"
642-
msgstr "Gagal untuk menemukan layanan, status: 0x%08lX"
643-
644-
#: ports/nrf/common-hal/_bleio/Adapter.c
645-
#, fuzzy
646-
msgid "Failed to get local address"
647-
msgstr "Gagal untuk mendapatkan alamat lokal, error: 0x%08lX"
648-
649-
#: ports/nrf/common-hal/_bleio/Adapter.c
650-
#, fuzzy
651-
msgid "Failed to get softdevice state"
652-
msgstr "Gagal untuk mendapatkan status softdevice, error: 0x%08lX"
653-
654-
#: ports/nrf/common-hal/_bleio/Characteristic.c
655-
#, c-format
656-
msgid "Failed to notify or indicate attribute value, err 0x%04x"
657-
msgstr ""
658-
659-
#: ports/nrf/common-hal/_bleio/Connection.c
660-
msgid "Failed to pair"
661-
msgstr ""
662-
663-
#: ports/nrf/common-hal/_bleio/Characteristic.c
664-
#, fuzzy, c-format
665-
msgid "Failed to read CCCD value, err 0x%04x"
666-
msgstr "Gagal untuk membaca nilai atribut, status: 0x%08lX"
667-
668-
#: ports/nrf/common-hal/_bleio/__init__.c
669-
#, c-format
670-
msgid "Failed to read attribute value, err 0x%04x"
671-
msgstr ""
672-
673-
#: ports/nrf/common-hal/_bleio/__init__.c
674-
#, fuzzy, c-format
675-
msgid "Failed to read gatts value, err 0x%04x"
676-
msgstr "Gagal untuk menulis nilai gatts, status: 0x%08lX"
677-
678-
#: ports/nrf/common-hal/_bleio/UUID.c
679-
#, fuzzy, c-format
680-
msgid "Failed to register Vendor-Specific UUID, err 0x%04x"
681-
msgstr "Gagal untuk menambahkan Vendor Spesific UUID, status: 0x%08lX"
682-
683612
#: ports/nrf/sd_mutex.c
684613
#, fuzzy, c-format
685614
msgid "Failed to release mutex, err 0x%04x"
686615
msgstr "Gagal untuk melepaskan mutex, status: 0x%08lX"
687616

688-
#: ports/nrf/common-hal/_bleio/Adapter.c
689-
msgid "Failed to start advertising, NRF_ERROR_%q"
690-
msgstr ""
691-
692-
#: ports/nrf/common-hal/_bleio/Adapter.c
693-
#, c-format
694-
msgid "Failed to start connecting, error 0x%04x"
695-
msgstr ""
696-
697-
#: ports/nrf/common-hal/_bleio/Connection.c
698-
msgid "Failed to start pairing, NRF_ERROR_%q"
699-
msgstr ""
700-
701-
#: ports/nrf/common-hal/_bleio/Adapter.c
702-
#, fuzzy, c-format
703-
msgid "Failed to start scanning, err 0x%04x"
704-
msgstr "Gagal untuk melakukan scanning, status: 0x%08lX"
705-
706-
#: ports/nrf/common-hal/_bleio/Adapter.c
707-
msgid "Failed to stop advertising, NRF_ERROR_%q"
708-
msgstr ""
709-
710-
#: ports/nrf/common-hal/_bleio/Characteristic.c
711-
#, c-format
712-
msgid "Failed to write CCCD, err 0x%04x"
713-
msgstr ""
714-
715-
#: ports/nrf/common-hal/_bleio/__init__.c
716-
#, fuzzy, c-format
717-
msgid "Failed to write attribute value, err 0x%04x"
718-
msgstr "Gagal untuk menulis nilai atribut, status: 0x%08lX"
719-
720-
#: ports/nrf/common-hal/_bleio/__init__.c
721-
#, fuzzy, c-format
722-
msgid "Failed to write gatts value, err 0x%04x"
723-
msgstr "Gagal untuk menulis nilai gatts, status: 0x%08lX"
724-
725617
#: py/moduerrno.c
726618
msgid "File exists"
727619
msgstr ""
@@ -784,6 +676,10 @@ msgstr ""
784676
msgid "Input/output error"
785677
msgstr ""
786678

679+
#: ports/nrf/common-hal/_bleio/__init__.c
680+
msgid "Insufficient authentication"
681+
msgstr ""
682+
787683
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
788684
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
789685
msgid "Invalid %q pin"
@@ -1323,6 +1219,21 @@ msgstr ""
13231219
msgid "Unexpected nrfx uuid type"
13241220
msgstr ""
13251221

1222+
#: ports/nrf/common-hal/_bleio/__init__.c
1223+
#, c-format
1224+
msgid "Unknown gatt error: 0x%04x"
1225+
msgstr ""
1226+
1227+
#: ports/nrf/common-hal/_bleio/__init__.c
1228+
#, c-format
1229+
msgid "Unknown security error: 0x%04x"
1230+
msgstr ""
1231+
1232+
#: ports/nrf/common-hal/_bleio/__init__.c
1233+
#, c-format
1234+
msgid "Unknown soft device error: %04x"
1235+
msgstr ""
1236+
13261237
#: shared-bindings/_pixelbuf/PixelBuf.c
13271238
#, c-format
13281239
msgid "Unmatched number of items on RHS (expected %d, got %d)."
@@ -2797,14 +2708,38 @@ msgstr ""
27972708
#~ msgid "Failed to create mutex"
27982709
#~ msgstr "Gagal untuk membuat mutex, status: 0x%08lX"
27992710

2711+
#, fuzzy
2712+
#~ msgid "Failed to discover services"
2713+
#~ msgstr "Gagal untuk menemukan layanan, status: 0x%08lX"
2714+
2715+
#, fuzzy
2716+
#~ msgid "Failed to get local address"
2717+
#~ msgstr "Gagal untuk mendapatkan alamat lokal, error: 0x%08lX"
2718+
2719+
#, fuzzy
2720+
#~ msgid "Failed to get softdevice state"
2721+
#~ msgstr "Gagal untuk mendapatkan status softdevice, error: 0x%08lX"
2722+
28002723
#, fuzzy
28012724
#~ msgid "Failed to notify or indicate attribute value, err %0x04x"
28022725
#~ msgstr "Gagal untuk melaporkan nilai atribut, status: 0x%08lX"
28032726

2727+
#, fuzzy, c-format
2728+
#~ msgid "Failed to read CCCD value, err 0x%04x"
2729+
#~ msgstr "Gagal untuk membaca nilai atribut, status: 0x%08lX"
2730+
28042731
#, fuzzy
28052732
#~ msgid "Failed to read attribute value, err %0x04x"
28062733
#~ msgstr "Gagal untuk membaca nilai atribut, status: 0x%08lX"
28072734

2735+
#, fuzzy, c-format
2736+
#~ msgid "Failed to read gatts value, err 0x%04x"
2737+
#~ msgstr "Gagal untuk menulis nilai gatts, status: 0x%08lX"
2738+
2739+
#, fuzzy, c-format
2740+
#~ msgid "Failed to register Vendor-Specific UUID, err 0x%04x"
2741+
#~ msgstr "Gagal untuk menambahkan Vendor Spesific UUID, status: 0x%08lX"
2742+
28082743
#, fuzzy
28092744
#~ msgid "Failed to release mutex"
28102745
#~ msgstr "Gagal untuk melepaskan mutex, status: 0x%08lX"
@@ -2821,6 +2756,10 @@ msgstr ""
28212756
#~ msgid "Failed to start scanning"
28222757
#~ msgstr "Gagal untuk melakukan scanning, status: 0x%08lX"
28232758

2759+
#, fuzzy, c-format
2760+
#~ msgid "Failed to start scanning, err 0x%04x"
2761+
#~ msgstr "Gagal untuk melakukan scanning, status: 0x%08lX"
2762+
28242763
#, fuzzy
28252764
#~ msgid "Failed to stop advertising"
28262765
#~ msgstr "Gagal untuk memberhentikan advertisement, status: 0x%08lX"
@@ -2829,6 +2768,14 @@ msgstr ""
28292768
#~ msgid "Failed to stop advertising, err 0x%04x"
28302769
#~ msgstr "Gagal untuk memberhentikan advertisement, status: 0x%08lX"
28312770

2771+
#, fuzzy, c-format
2772+
#~ msgid "Failed to write attribute value, err 0x%04x"
2773+
#~ msgstr "Gagal untuk menulis nilai atribut, status: 0x%08lX"
2774+
2775+
#, fuzzy, c-format
2776+
#~ msgid "Failed to write gatts value, err 0x%04x"
2777+
#~ msgstr "Gagal untuk menulis nilai gatts, status: 0x%08lX"
2778+
28322779
#~ msgid "GPIO16 does not support pull up."
28332780
#~ msgstr "GPIO16 tidak mendukung pull up"
28342781

0 commit comments

Comments
 (0)