
adb를 이용한 안드로이드 쉘 사용방법(with source) [윈도우 기준] adb 설치 [아래 링크 참고] https://kibua20.tistory.com/165 안드로이드 adb 설치 및 설정 방법 Android ADB (Android Debug Bridge)는 PC와 스마트 폰 간에 통신을 할 수 있는 명령어도 도구입니다. 안드로이드 개발자에게는 apk 설치, log 출력의 등의 개발에 많은 활동에서 adb를 거의 매일 사용하고 있 kibua20.tistory.com [다운로드 링크] https://developer.android.com/studio/releases/platform-tools?hl=ko SDK 플랫폼 도구 출시 노트 | Android 개발자 | Android Developers ..
아카라 API refreshToken을 이용한 accessToeken 관리 # .env에 refreshToken 저장 DATABASE_URL="mysql://root:root@localhost:3306/bss" APP_ID= ACCESS_TOKEN= REFRESH_TOKEN= KEY_ID= APP_KEY= ACCOUNT= # 스케쥴러에 스케쥴 등록(매일 새벽 03시) @Injectable() export class TasksService { constructor(private aqara: AqaraService) {} @Cron('0 3 * * *') // 매일 새벽 3시에 실행 handleCron() { this.aqara.UpdateToken(); } #토큰 업데이트 로직 구현(refresh토큰을 이..
UDP 기본 코드 using System.Collections.Generic; using UnityEngine; using System.Net; using System.Net.Sockets; using System.Text; public class UDPReceiver : MonoBehaviour { private UdpClient udpClient; private int port = 7777; private Queue messageQueue = new Queue(); void Start() { udpClient = new UdpClient(port); BeginReceive(); } private void BeginReceive() { udpClient.BeginReceive(ReceiveCallbac..