Merge "Added JNI methods to get content, and reset transmitted packet." into main