분류 전체보기8 후배에게 알려주는 API 백엔드 개발 1. HTTP HTTP는 웹/앱 백엔드 개발에 앞서 반드시 학습해야하는 내용입니다. HTTP에 대한 이해 없이 무작정 웹 프레임워크 사용법만 학습하여 만든 엉터리 사이트들이 있습니다.웹 페이지 이동을 POST Method로 구현하여 웹 브라우저의 '뒤로' 버튼을 클릭 했을때 뒤로 이동하지 않는 사이트, 사용자의 인증 문자열을 Query Parameter에 담아 보내는 등의 경우 100% HTTP에 대한 이해가 없는 개발자의 결과물입니다. 이런 말도안되는 개발자가 더이상 양성되지 않았으면 하는 마음에 이 책은 HTTP 프로토콜에 대한 내용으로 시작합니다. 만약 생소한 용어가 보이면 겁먹지말고 그냥 읽고 넘어가면 됩니다.일단 끝까지 쭉 직진해서 나가다보면 언젠가 익숙해지게 됩니다. REST API는 HTTP 요청을 통해 .. 2025. 10. 11. RP2040-FreeRTOS Part 1 - 프로젝트 설정 Learn Embedded Systems 유튜브 따라하기원본영상(링크는 게시물 하단에): FreeRTOS on the Raspberry Pi Pico (RP2040) Part 1: VSCode Setup and Blinky Test! [UPDATED] FreeRTOS(Free Realtime Operating System): 오픈 소스 실시간 운영 체제RTOS를 사용하지 않는 일반적인 펌웨어 개발 방식을 Bare Metal Programming이라고함.베어메탈 방식은 최상위 무한 루프내에 필요한 태스크 코드들이 순서대로 실행됨. 센서 데이터를 수집하여 서버로 값을 전송하는 펌웨어를 개발한다면 아래와 같이 작성하게됨.#define HTTP_RETRY_COUNT 5int main(){ int n_temp .. 2025. 9. 9. [Serrawireless] HL8710 Commands sequence to connect to AWS IoT Core(MQTT) Here are instructions on how to use the TCP/UDP Commands in the AT Commands guide, but there are no examples of the MQTT Command set.So I searched for some posts in the Sierra wireless forum and finally found the commands set for that.Some notes about SSL and authentication before connecting.Store SSL Certifications issued from the AWS IoT Core via the +KCERTSTORE command and +KPRIVKSTORE comman.. 2025. 1. 13. [Serrawireless] Modules - Mobile Network Registration Status - Video Tutorial https://youtu.be/vS3-WbvKsKE?si=vLyQdggv8GthTMRd Registration Command example for HL7810AT+CFUN=0AT+CGDCONT=1,"IP","internet.swir"AT+CFUN=1AT+CGDCONT?AT+COPS?AT+CREG?AT+CEREG?AT+CREG=1AT+CEREG=1// TCP ConnectionAT+KCNXCFG=1,"GPRS",""AT+KCNXCFG?AT+KTCPCFG=1,0,"ipaddr",80AT+KTCPCNX=1// Do something..AT+KTCPCLOSE=1,1AT+KTCPDEL=1AT+CFUN=0 // Radio off 참고링크https://source.sierrawireless.com/resources.. 2025. 1. 13. 디버그 프로브로 rp2040과 컴퓨터를 시리얼 통신 연결하기 1. CMakeLists.txt 파일에 STDIO를 USB CDC로 연결하도록 설정cmake_minimum_required(VERSION 3.14)include(pico_sdk_import.cmake)project(STDDemo)set(CMAKE_C_STANDRAD 11)set(CMAKE_CXX_STANDARD 17)pico_sdk_init()add_executable(STDDemo main.c)target_link_libraries(STDDemo pico_stdlib)pico_enable_stdio_usb(STDDemo 1) # Enable the STDIO on USB CDCpico_enable_stdio_uart(STDDemo 0)pico_add_extra_outputs(STDDemo) 2. .. 2025. 1. 13. 라즈베리파이 피코 디버그 프로브로 펌웨어 업로드하기 https://youtu.be/4RCZBZsfsek?si=qLC21VyzBPIHQ3DE 1. OpenOCD 설치$ brew install open-ocd 2. 디버그 프로브를 맥 컴퓨터 USB포트에 연결 3. 펌웨어 파일 업로드sudo openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program 파일명.elf verify reset exit" * Photo by Nubelson Fernandes on Unsplash 2025. 1. 13. 이전 1 2 다음 반응형