Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Flutterでもシリアルコンソール通信 できるもん!

Ryotaro Onoue
September 29, 2023

Flutterでもシリアルコンソール通信 できるもん!

YOUTRUST x ゆめみ Flutter LT会@渋谷 #3
https://yumemi.connpass.com/event/294763/

Ryotaro Onoue

September 29, 2023
Tweet

More Decks by Ryotaro Onoue

Other Decks in Programming

Transcript

  1. γϦΞϧ .. . ? ίϯιʔϧ…?   1-1. γϦΞϧίϯιʔϧͬͯͳΜͧ΍? Oracle

    Cloud Infrastructure ͷ Compute InstanceʹγϦΞϧίϯιʔϧ઀ଓ
  2. γϦΞϧ .. . ? ίϯιʔϧ…?   1-1. γϦΞϧίϯιʔϧ௨৴ͬͯͳΜͧ΍? -

    γϦΞϧίϯιʔϧ / γϦΞϧϙʔτͱ͸?  1౓ʹ1bitͣͭσʔλΛૹड৴͢ΔΠϯλʔϑΣʔεύϥϨϧ઀ଓ  σΟεϓϨΠ΍Ϛ΢ε౳ͷೖग़ྗΠϯλʔϑΣʔεΛ࣋ͨͳ͍αʔό΍૊ ΈࠐΈγεςϜʹ઀ଓ͢Δͷʹར༻͞Ε͍ͯΔ
  3. ԿΛ࡞͍͖͍͔ͬͯͨ   2-0. ໨ඪ - ֓ཁ - CO2ηϯαʔͷ஋Λදࣔɾάϥϑදࣔ -

    ൚༻ੑͷߴ͍γϦΞϧίϯιʔϧؔ࿈ΫϥεΛ࡞Δ - ϓϥοτϑΥʔϜ - Android, macOS, Linux - iOS͸OSͷ੍໿্ݫ͍͠ - ঢ়ଶ؅ཧ - riverpod, flutter_hooks
  4. Flutterͷ֎ͷੈք΁ΞΫηε   2-1. ϓϥάΠϯௐࠪ AndroidͰ࣮ߦ͢Δͱɺݖݶෆ଍ͰౖΒΕΔ - > ୅ΘΓʹusb_serial pluginΛ࢖͏͜ͱͰճආͰ͖Δ

    IUUQTHJUIVCDPNKQOVSNJ fl VUUFS@MJCTFSJBMQPSUJTTVFT IUUQTHJUIVCDPNKQOVSNJ fl VUUFS@MJCTFSJBMQPSUJTTVFT
  5. FlutterͰ΋γϦΞϧίϯιʔϧ௨৴Ͱ͖Δ΋Μ!   4. ·ͱΊ ͱ Φν - Flutter͔ͩΒωΠςΟϒ৮Δػೳ͸࢖͑ͳ͍ΜͰ͠ΐ? -

    > ͍͍͑ Plugin͕͋Γ·͢ (౰વྫ֎͸͋Γ·͕͢) - γϦΞϧίϯιʔϧ௨৴Ͱ෺ཧతͳσόΠεͱ઀ଓͯ͠ ৘ใΛૹड৴͢Δ͜ͱ͕Ͱ͖Δ - ࠓޙ Ճ଎౓ηϯαʔ΍GNSSड৴ػͷApp΋࡞͍ͬͯͭ͘΋ΓͰ͢
  6. FlutterͰ΋γϦΞϧίϯιʔϧ௨৴Ͱ͖Δ΋Μ!   - Flutter͔ͩΒωΠςΟϒ৮Δػೳ͸࢖͑ͳ͍ΜͰ͠ΐ? - > ͍͍͑ Plugin͕͋Γ·͢ (౰વྫ֎͸͋Γ·͕͢)

    - γϦΞϧίϯιʔϧ௨৴Ͱ෺ཧతͳσόΠεͱ઀ଓͯ͠ ৘ใΛૹड৴͢Δ͜ͱ͕Ͱ͖Δ - ࠓޙ Ճ଎౓ηϯαʔ΍GNSSड৴ػͷApp΋࡞͍ͬͯͭ͘΋ΓͰ͢ 4. ·ͱΊ ͱ Φν pub.devʹग़͍ͯͳ͍͚ͩͰ ίʔυ͸ ͢ͰʹରԠ͞Εͯͨ!!!
  7. FlutterͰ΋γϦΞϧίϯιʔϧ௨৴Ͱ͖Δ΋Μ!   4. ·ͱΊ ͱ Φν - Flutter͔ͩΒωΠςΟϒ৮Δػೳ͸࢖͑ͳ͍ΜͰ͠ΐ? -

    > ͍͍͑ Plugin͕͋Γ·͢ (౰વྫ֎͸͋Γ·͕͢) - γϦΞϧίϯιʔϧ௨৴Ͱ෺ཧతͳσόΠεͱ઀ଓͯ͠ ৘ใΛૹड৴͢Δ͜ͱ͕Ͱ͖Δ - ࠓޙ Ճ଎౓ηϯαʔ΍GNSSड৴ػͷApp΋࡞͍ͬͯͭ͘΋ΓͰ͢ - Issue΋ͪΌΜͱಡΈ·͠ΐ͏ - ਂ໷Ͱ൑அྗ͕௿Լ͍ͯ͠Δͱ͖ʹॏཁͳ൑அΛ͠ͳ͍ํ͕ྑ͍